[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Can you suggest the right approach to solving this web design puzzle?

see the attached code:

<html>
<head>
    <link href="StatStyles.css" type="text/css" rel="stylesheet" />
<title>Division Stats</title></head>
<body>
    <center>
    <p class="Heading">
        <img height="40" src="../apa_logo_words_color_sm.jpg" width="50" /> &nbsp;&nbsp;South
        Coast APA&nbsp;&nbsp; <img height="40" src="../apa_logo_words_color_sm.jpg" width="50" />
    </p>
    <p class="StatHeading">
        <span id="StatHeader"></span>
    </p>
    </center>
    <div style="MARGIN-LEFT: 0.13in; OVERFLOW: auto; HEIGHT: 70%">
        <form name="_ctl0" method="post" action="StatViewer.aspx" id="_ctl0" align="center">
<input type="hidden" name="__VIEWSTATE" value="dDwtODYzOTI5ODk0O3Q8O2w8aTwyMT47PjtsPHQ8cDxwPGw8TmF2aWdhdGVVcmw7PjtsPC9YTUxTdGF0cy9TdGF0UHJpbnRlci5hc3B4Oz4+Oz47Oz47Pj47Pvnp5BD/iAMxtU9UVALlxjZeJ2P6" />

            <?xml version="1.0" encoding="utf-8"?><p align="center" style="line-height: 120%; margin-top: 0; margin-bottom: 12"></p><div align="center"><center><table border="2" cellpadding="5"><TR><td class="RosterText" align="center" valign="top"><a href="StatViewer.aspx?DivNum=011&amp;DivName=Camarillo&amp;stat=Division Page">011 - Camarillo</a><br />Mondays, 7:30 PM<br />Open 8-Ball<br />Stats after week 15 on 04/11/2005</td><td class="RosterText" align="center" valign="top"><a href="StatViewer.aspx?DivNum=012&amp;DivName=Thousand Oaks Red&amp;stat=Division Page">012 - Thousand Oaks Red</a><br />Mondays, 7 PM<br />Open 8-Ball<br />Stats after week 15 on 04/11/2005</td><td class="RosterText" align="center" valign="top

(lots of code deleted here for readibility)..

<a href="StatViewer.aspx?DivNum=861&amp;DivName=Ventura 9-Ball&amp;stat=Division Page">861 - Ventura 9-Ball</a><br />Saturdays, 5:30 PM<br />Open 9-Ball<br />Stats after week 13 on 04/09/2005</td></TR></table></center></div>
        </form>
    </div>
    <center>
    <p>
        <a id="HomeLink" href="../index.htm">Home</a>
        &nbsp;
        <a id="StatsLink" href="StatViewer.aspx">Choose Division</a>
        &nbsp;
        <a id="DivisionLink"></a>
        &nbsp;
        <a id="TeamLink"></a>
        &nbsp;
        <a id="StandingsLink">Standings</a>
        &nbsp;
        <a id="RostersLink">Rosters</a>
        &nbsp;
        <a id="ScheduleLink">Schedule</a>
        &nbsp;
        <a id="MVPLink">MVP List</a>
        &nbsp;
        <a id="LinkForPrint" href="/XMLStats/StatPrinter.aspx" target="new">Printer-friendly version</a>
    </p>
    </center>
</body>
</html>

All of the code inside the <form> tags (and there was a lot of it) was on one line, so I think this was generated by something other than a human.

 I believe that this page is creating a bunch of web pages from an XML document, but I'm kind of a newbie and frankly I don't really know what's going on here. I read up on XML and I  can create an XML document, but don't really know how to access the data on it. DUH!  I would have done this using a database, but am not allowed to use one on this project. I was directed to this page as an example of what my client wants.

Anyway, here's the question: clearly this was written in a .net environment. A) since I don't do .net yet, is there another approach to getting this done without it? and B) Can you give me a quick walkthrough of what's happening here between the <form tags>? For example what is happening with this: <a href="StatViewer.aspx?DivNum=011&amp;DivName=Camarillo&amp;stat=Division Page">? And what is the "value" ?

I know this question is kind of vague which is why I'm offering 500 points.

I also posted this question in an even less comprehensible form earlier today in the web development forum also for 500 points, so maybe you can get a quick 1000?
0
racing_chicken
Asked:
racing_chicken
1 Solution
 
rdivilbissCommented:
This is not the code.

This is the HTML output from the code.

The code that creates StatViewer.aspx is what you need to look at or you can not tell what is really happening.

The code in StatViewer.aspx is not available, so once again, any answers would be a guess.

<a href="StatViewer.aspx?DivNum=011&amp;DivName=Camarillo&amp;stat=Division Page">

Thay hyperlink is calling StatViewer.aspx passing three parameters and their associated values.  One would presume, (but it is a guess) those parameters are used to build a new page with the details relating to the values of the three parameters.

Of course you can do whatever without .NET, classic ASP for example, but if your purpose is to support this web site, then you need to see the actual code to determine what is taking place and decide if you want to maintain it in .NET or some other environment.

Also you can not award more than 500 points for a question.

0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now