Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------HTML PAGE THROUGH DYNAMIC LOADING--------------------
- <html>
- <head>
- </head>
- <body>
- <!-- MAIN PAGE TABLE -->
- <center><table border="1" width="100%" cellspacing="5" cellpadding="8" bgcolor="black" cols="5"><font size="6" face="verdana" color="green"><i>
- <tr><td><center><a href="199.419.9.419?p=index"><font color=Green>Home</font></a></center></td>
- <td><a href="199.419.9.419?p=aas"><font color=Green>All about Steve</font></a></td>
- <td>Guitars</td>
- <td>Comment</td>
- <td>Song of the Day</td></tr>
- <tr><td><center><b><i><font size="5" color="white">Links</font></i></b></center></td>
- <td align="center" rowspan="5" colspan="4"><font color="white" size="5"><th>MAIN INFO GOES HERE<</h></font></td>
- <tr><td><a href="123.749.8.840"><font size ="4" color="Red"><center>Ltlwinter's Site</center></font></a></td></tr>
- <tr><td><a href="126.088.8.148"><font size ="4" color="Purple"><center>Khmauv's Site</center></font></a></td></tr>
- <tr><td><a href="244.253.6.015"><font size ="4" color="Blue"><center>Aoi's Site</center></font></a></td></tr>
- <tr><td><a href="241.229.7.055"><font size ="4" color="Yellow"><center>Jagjr's Site</center></font></a></td></tr>
- </tr></table></center>
- <?content?>
- </body>
- </html>
- -------HTTP--------
- // Apache v1 by Dllfile
- int main() {
- // Gets the value of p to determine
- // which file to look for.
- string p = fetchGetVariable("p");
- // Takes care of first page load
- // Defaults the page to index
- // if page is not defined.
- if (p == "") {
- p = "index";
- }
- // Can replace if you like or keep
- // the naming convention. file.html
- p = "Web/" + p + ".html";
- // Replaces <?content?> in your site
- // template with the contents of the
- // file being loaded.
- replaceContent("content", readFile(p));
- }
- NOTHING HARD REALLY I WANT TO GET IT SIMPLE THEN ADD ONTO IT
Add Comment
Please, Sign In to add comment