1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 | <?PHP ?> <html> <head> <title>Example</title> <style> <!-- A { color: #003366; text-decoration: none; } A:link { color: #003366; text-decoration: none; } A:visited { color: #003366; text-decoration: none; } A:active { color: #54622D; } A:hover { color: #54622D; } BODY,TD,TR{ font-family: verdana, arial, sans-serif; color:#000; font-size:11; font-weight:normal; } .banner { font-family: georgia, verdana, arial, sans-serif; color:white; font-size:x-large; font-weight:bold; border-left:1px solid #FFF; border-right:1px solid #FFF; border-top:1px solid #FFF; background:#003366; padding:7px; } .description{ font-family:verdana, arial, sans-serif; font-size:x-small; font-weight:bold; } //--> </style> </head> <body bgcolor="#ffffff"> <div align="center"><center> <table border="0" width="700" cellspacing="0" cellpadding="0"> <tr> <td class=banner > Put here your title<br> <span class="description">and this is your description</span> </td> </tr> <tr> <td> </center> <table border="0" width="100%" cellspacing="0" cellpadding="6"> <tr> <td width="180" valign=top style="border-right: 1px dotted #000000;"><table border="0" width=93% cellspacing="0" cellpadding="0"> <tr> <td width="100%" style="border-top: 1 solid #000000; border-bottom: 1 solid #000000" bgcolor="#F3F4F5" height="26"> <p align="left"> <b><font color="#003366">Navigation</font></b></p> </td> </tr> <tr> <td width="100%"> </td> </tr> <tr> <td width="100%"> <a href="?">main page</a> </td> </tr> <tr> <td width="100%"> <a href="?do=archives">archives</a> </td> </tr> <tr> <td width="100%"> <a href="?do=stats">statistic</a> </td> </tr> <tr> <td width="100%"> <a href="?">other link</a> </td> </tr> <tr> <td width="100%"> <a href="?">other link</a> </td> </tr> <tr> <td width="100%"> </td> </tr> <tr> <td width="100%" style="border-top: 1 solid #000000; border-bottom: 1 solid #000000" bgcolor="#F3F4F5" height="26"> <p align="left"> <font color="#003366"><b>Quick search</b></font></p> </td> </tr> <tr> <td width="100%"> </td> </tr> <tr> <!-- The Quick Search Form --> <form method="post"> <td width="100%" align="center"> <br> <input type="text" name="story" size="14"> <input type="hidden" name="do" value="search"> </td> </form> <!-- End of the Search Form --> </tr> <tr> <td width="100%"> </td> </tr> <tr> <td width="100%" style="border-top: 1 solid #000000; border-bottom: 1 solid #000000" bgcolor="#F3F4F5" height="26"> <p align="left"> <b><font color="#003366">banners/sponsors</font></b></p> </td> </tr> <center> <tr> <td width="100%"> </td> </tr> <tr> <td width="100%"> put some banners here </td> </tr> <tr> <td width="100%"> </td> </tr> <tr> <td width="100%"> and another banners here </td> </tr> <tr> <td width="100%"> </td> </tr> <tr> <td width="100%" style="border-top: 1 solid #000000; border-bottom: 1 solid #000000" bgcolor="#F3F4F5" height="26"> <p align="left"> <font color="#003366"><b>Friends</b></font></p> </td> </tr> <tr> <td width="100%"> </td> </tr> <tr> <td width="100%"> <a href="http://cutephp.com" title="PHP News Content Management System" target="_blank">CutePHP Scripts</a> </td> </tr> <tr> <td width="100%"> <a href="http://news.google.com" target="_blank">Google News</a> </td> </tr> <tr> <td width="100%"> <a href="http://mozilla.org" target="_blank">Mozilla.org</a> </td> </tr> </table> <p align="center"><br><br> <br> <br> <br> </center> </td> <td width="520" valign="top" align="center"> <table border="0" width="453" cellspacing="1" cellpadding="3"> <tr> <td width="441"> <?PHP /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Here we decide what page to include ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ if($_POST['do'] == "search" or $_GET['dosearch'] == "yes"){ $subaction = "search"; $dosearch = "yes"; include("./search.php"); } elseif($_GET['do'] == "archives"){ include("./show_archives.php"); } elseif($_GET['do'] == "stats"){ echo"You can download the stats addon and include it here to show how many news, comments ... you have"; /* include("$path/stats.php"); */ } else{ include("./show_news.php"); } ?> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table><br><br><center> <table border=0 width=700 style="border-top: 1px dotted #000000;"> <tr><td> <p align="center">put your footer and copyright here </td></tr></table> </body> </html> |