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 | <?PHP $skin_prefix = ""; // ******************************************************************************** // Skin MENU // ******************************************************************************** $skin_menu = <<<HTML <a class="nav" href="$PHP_SELF?mod=main">Home</a> </td> <td>|</td> <td> <a class="nav" href="$PHP_SELF?mod=addnews&action=addnews" accesskey="a">Add News</a> </td> <td>|</td> <td> <a class="nav" href="$PHP_SELF?mod=editnews&action=list">Edit News</a> </td> <td>|</td> <td> <a class="nav" href="$PHP_SELF?mod=options&action=options">Control Panel</a> </td> <td>|</td> <td> <a class="nav" href="$PHP_SELF?mod=about&action=about">Help</a> </td> <td>|</td> <td> <a class="nav" href="$PHP_SELF?action=logout">Exit</a> HTML; // *********** // Skin HEADER // *********** $skin_header = <<<HTML <html> <head> <title>CuteNews</title> <script type="text/javascript" src="skins/cute.js"></script> <style type='text/css'> <!-- select, option, textarea, input { BORDER: #808080 1px solid; COLOR: #000000; FONT-SIZE: 11px; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff } input[type=submit]:hover, input[type=button]:hover{ background-color:#EBEBEB !important; } a:active,a:visited,a:link {color: #446488; text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt;} a:hover {color: #00004F; text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; } a.nav:active, a.nav:visited, a.nav:link { color: #000000; font-size : 10px; font-weight: bold; font-family: verdana; text-decoration: none;} a.nav:hover { font-size : 10px; font-weight: bold; color: black; font-family: verdana; text-decoration: underline; } .bborder { background-color: #FFFFFF; } .panel {-moz-border-radius: .3em .3em .3em .3em; border: 1px dotted silver; background-color: #F7F6F4;} BODY, TD, TR {text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; cursor: default;} --> </style> </head> <body bgcolor=white marginwidth='0' leftmargin='0'> <center> <table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="bborder" bgcolor="#FFFFFF" > <table border=0 cellpadding=0 cellspacing=0 bgcolor="#ffffff" width="685" > <tr> <td bgcolor="#F7F6F4" align="center" height="24" style="-moz-border-radius: 3em 3em 0em 0em; border-left: 1px transparent; border-top: 1px transparent; border-right: 1px transparent; border-bottom: #808080 1px solid;"> <table cellpadding=5 cellspacing=0 border=0> <tr> <td> {menu} </td> </tr> </table> </td> </tr> <tr> <td height="19"> </center> <!--SELF--> <table border=0 cellpading=0 cellspacing=15 width="100%" height="100%" > <tr> <td width="100%" height="100%" > <!--MAIN area--> HTML; // *********** // Skin FOOTER // *********** $skin_footer = <<<HTML <!--/MAIN area--> </tr> </table> </td> </tr> <tr > <td bgcolor="#F7F6F4" height="24" align="center" style="-moz-border-radius: .0em .0em 3em 3em; border-left: 1px transparent; border-bottom: 1px transparent; border-right: 1px transparent; border-top: 1px solid #808080; "> {copyrights} </td> </tr> </center> </table></td></tr></table> </body></html> HTML; ?> |