107 lines
		
	
	
		
			5.4 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
		
		
			
		
	
	
			107 lines
		
	
	
		
			5.4 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
|  | <?PHP | |||
|  | $skin_header = <<<HTML | |||
|  | <html> | |||
|  | <head> | |||
|  | <title>$lang[skin_title]</title> | |||
|  | <meta content="text/html; charset={$config['charset']}" http-equiv="content-type" /> | |||
|  | <script type="text/javascript" src="system/js/jquery.js"></script> | |||
|  | <script type="text/javascript" src="system/js/jqueryui.js"></script> | |||
|  | <script type="text/javascript" src="system/skins/default.js"></script> | |||
|  | <style type="text/css" media="all">@import url(system/skins/style.css);</style> | |||
|  | </head> | |||
|  | <body> | |||
|  | <table align="center" id="main_body" style="width:94%;"> | |||
|  |     <tr> | |||
|  |         <td width="4" height="16"><img src="system/skins/images/tb_left.gif" width="4" height="16" border="0" /></td> | |||
|  | 		<td background="system/skins/images/tb_top.gif"><img src="system/skins/images/tb_top.gif" width="1" height="16" border="0" /></td> | |||
|  | 		<td width="4"><img src="system/skins/images/tb_right.gif" width="3" height="16" border="0" /></td> | |||
|  |     </tr> | |||
|  | 	<tr> | |||
|  |         <td width="4" background="system/skins/images/tb_lt.gif"><img src="system/skins/images/tb_lt.gif" width="4" height="1" border="0" /></td> | |||
|  | 		<td valign="top" style="padding-top:12px; padding-left:13px; padding-right:13px;" bgcolor="#FAFAFA"> | |||
|  | 
 | |||
|  | <table width="100%"> | |||
|  |     <tr> | |||
|  |         <td bgcolor="#EFEFEF" height="29"><div class="navigation"><img align="absmiddle" src="system/skins/images/p1.gif" width="25" height="8" border="0"> {user} ({group})</div></td> | |||
|  |         <td bgcolor="#EFEFEF" height="29" align="right" style="padding-right:10px;"><div class="navigation"><img align="absmiddle" src="system/skins/images/p1.gif" width="25" height="8" border="0"><a href="$PHP_SELF?mod=main" class=navigation>$lang[skin_main]</a><img align="absmiddle" src="system/skins/images/p1.gif" width="25" height="8" border="0"><a href="$PHP_SELF?mod=addnews&action=addnews" class=navigation><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a><img align="absmiddle" src="system/skins/images/p1.gif" width="25" height="8" border="0"><a href="$PHP_SELF?mod=editnews&action=list" class=navigation><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a><img align="absmiddle" src="system/skins/images/p1.gif" width="25" height="8" border="0"><a href="$PHP_SELF?mod=options&action=options" class=navigation><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a><img align="absmiddle" src="system/skins/images/p1.gif" width="25" height="8" border="0"><a href="{$config['http_home_url']}" target="_blank" class=navigation>$lang[skin_view]</a><img align="absmiddle" src="system/skins/images/p1.gif" width="25" height="8" border="0"><a href="$PHP_SELF?action=logout" class=navigation>$lang[skin_logout]</a></div></td> | |||
|  |     </tr> | |||
|  | </table> | |||
|  | 
 | |||
|  | <!--MAIN area--> | |||
|  | HTML; | |||
|  | 
 | |||
|  | $skin_footer = <<<HTML | |||
|  | 	 <!--MAIN area--> | |||
|  | 		</td> | |||
|  | 		<td width="4" background="system/skins/images/tb_rt.gif"><img src="system/skins/images/tb_rt.gif" width="4" height="1" border="0" /></td> | |||
|  |     </tr> | |||
|  | 	<tr> | |||
|  |         <td height="16" background="system/skins/images/tb_lb.gif"></td> | |||
|  | 		<td background="system/skins/images/tb_tb.gif"></td> | |||
|  | 		<td background="system/skins/images/tb_rb.gif"></td> | |||
|  |     </tr> | |||
|  | </table> | |||
|  | <script language="javascript" type="text/javascript"> | |||
|  | <!-- | |||
|  | function getClientWidth() | |||
|  | { | |||
|  |   return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientWidth:document.body.clientWidth; | |||
|  | } | |||
|  | var main_body_size = getClientWidth(); | |||
|  | 
 | |||
|  | if (main_body_size > 1300) document.getElementById('main_body').style.width = "1200px"; | |||
|  | 
 | |||
|  | //-->
 | |||
|  | </script> | |||
|  | </body> | |||
|  | 
 | |||
|  | </html> | |||
|  | HTML; | |||
|  | 
 | |||
|  | $skin_login = <<<HTML | |||
|  | <form  name="login" action="" method="post"><input type="hidden" name="subaction" value="dologin"> | |||
|  | <div style="padding-top:5px;"> | |||
|  | <table width="100%"> | |||
|  |     <tr> | |||
|  |         <td width="4"><img src="system/skins/images/tl_lo.gif" width="4" height="4" border="0"></td> | |||
|  |         <td background="system/skins/images/tl_oo.gif"><img src="system/skins/images/tl_oo.gif" width="1" height="4" border="0"></td> | |||
|  |         <td width="6"><img src="system/skins/images/tl_ro.gif" width="6" height="4" border="0"></td> | |||
|  |     </tr> | |||
|  |     <tr> | |||
|  |         <td background="system/skins/images/tl_lb.gif"><img src="system/skins/images/tl_lb.gif" width="4" height="1" border="0"></td> | |||
|  |         <td style="padding:5px;" bgcolor="#FFFFFF"> | |||
|  | <table width="100%"> | |||
|  |     <tr> | |||
|  |         <td bgcolor="#EFEFEF" height="29" style="padding-left:10px;"><div class="navigation">{$lang['m_login']}</div></td> | |||
|  |     </tr> | |||
|  | </table> | |||
|  | <div class="unterline"></div> | |||
|  | <table width="100%"> | |||
|  |     <tr> | |||
|  |         <td width="55" style="padding:5px;" rowspan="3"><img src="system/skins/images/key.png" border="0"></td> | |||
|  |         <td width="140" style="padding:5px;">{$lang['user_name']}</td> | |||
|  |         <td><input class="edit" type="text" name="username" value='' size="20">  {$result}</td> | |||
|  |     </tr> | |||
|  |     <tr> | |||
|  |         <td style="padding:5px;">{$lang['user_pass']}</td> | |||
|  |         <td><input class="edit" type="password" name="password" size="20">  <input type="submit" class="edit" value="{$lang['b_login']}"></td> | |||
|  |     </tr> | |||
|  |     <tr> | |||
|  |         <td style="padding:5px;">{$lang['opt_sys_al']}</td> | |||
|  |         <td>{$select_language}</td> | |||
|  |     </tr> | |||
|  | </table> | |||
|  | <div class="hr_line"></div> | |||
|  | <div class="navigation">{$lang['index_inf']}</div> | |||
|  | </td> | |||
|  |         <td background="system/skins/images/tl_rb.gif"><img src="system/skins/images/tl_rb.gif" width="6" height="1" border="0"></td> | |||
|  |     </tr> | |||
|  |     <tr> | |||
|  |         <td><img src="system/skins/images/tl_lu.gif" width="4" height="6" border="0"></td> | |||
|  |         <td background="system/skins/images/tl_ub.gif"><img src="system/skins/images/tl_ub.gif" width="1" height="6" border="0"></td> | |||
|  |         <td><img src="system/skins/images/tl_ru.gif" width="6" height="6" border="0"></td> | |||
|  |     </tr> | |||
|  | </table> | |||
|  | </div></form> | |||
|  | HTML; | |||
|  | ?>
 |