green_zone
Registered
Сложил съм системата е107 на цс сайта си. Но не разбирам от HTML / CSS и ви моля някой да ми раздели менютата на три като на http://cs-plovdiv.info
. Развалих 7 теми и не можах. Моля, който може да пише на скайп: warning525 
Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?php
require_once(THEME."gc_custom_login.php");
// Protect the file from direct access
if (!defined('e107_INIT')) { exit; }
// Get language definition files for this theme
@include_once(e_THEME."reline/languages/".e_LANGUAGE.".php");
@include_once(e_THEME."reline/languages/English.php");
// Set theme info
$themename = "cs-Man1a.info";
$themeversion = "1.0";
$themeauthor = "Exolent";
$themedate = "27/12/06";
$themeinfo = "";
$xhtmlcompliant = TRUE; // If set to TRUE will display an XHTML compliant logo in theme manager
$csscompliant = TRUE; // If set to TRUE will display a CSS compliant logo in theme manager
//[layout]
$layout = "_default";
// if the following pages then use the header and footer that follow
if(
eregi(e_PAGE, "forum.php")
||eregi(e_PAGE, "forum_viewforum.php")
||eregi(e_PAGE, "forum_viewtopic.php")
||eregi(e_PAGE, "forum_post.php")
)
{
$HEADER = "
<table style='width:997px' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='r2c1'><img src='".THEME."images/blank.gif' width='2' height='25' alt='' class='ffimgfix' /></td>
<td class='r2c2' style='width:100%;white-space:nowrap'>
".GC_CUSTOM_LOGIN."
<td class='r2c3'><img src='".THEME."images/blank.gif' width='2' height='25' alt='' class='ffimgfix' /></td>
</tr>
</table>
<table style='width:997px' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='r3c1'><img src='".THEME."images/blank.gif' width='2' height='129' alt='' class='ffimgfix' /></td>
<td class='r3c2' style='width:100%;white-space:nowrap'>
<td class='r3c3'><img src='".THEME."images/blank.gif' width='2' height='129' alt='' class='ffimgfix' /></td>
</tr>
</table>
<table style='width:997px' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='r4c1'><img src='".THEME."images/blank.gif' width='27' height='25' alt='' class='ffimgfix' /></td>
<td class='r4c2' style='width:100%;white-space:nowrap'>
{SITELINKS_ALT=no_icons+noclick}
<td class='r4c3'><img src='".THEME."images/blank.gif' width='27' height='25' alt='' class='ffimgfix' /></td>
</tr>
</table>
<table style='width:997px' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='spacer1'><img src='".THEME."images/blank.gif' width='27' height='16' alt='' class='ffimgfix' /></td>
<td class='spacer2' style='width:100%;white-space:nowrap'>
<td class='spacer3'><img src='".THEME."images/blank.gif' width='27' height='16' alt='' class='ffimgfix' /></td>
</tr>
</table>
<table style='width:997px' cellspacing='0' cellpadding='0' align='center' bgcolor='#484B4B'>
<tr>
<td class='leftr5'><img src='".THEME."images/blank.gif' width='27' alt='' class='ffimgfix' />
</td>
<td class='r5c2' style='width:0%; vertical-align:top;' class='ffimgfix' />
</td>
{SETSTYLE=default}
<td style='width:100%; vertical-align:top;'>
{MENU=2}
";
$FOOTER = "
{MENU=3}
</td>
<td class='rightr5'><img src='".THEME."images/blank.gif' width='27' alt='' class='ffimgfix' />
</td>
</tr>
</table>
<table style='width:997px' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='r6c1'><img src='".THEME."images/blank.gif' width='27' height='185' alt='' class='ffimgfix' /></td>
<td class='r6c2' style='width:100%;white-space:nowrap'>
{SITEDISCLAIMER}
<td class='r6c3'><img src='".THEME."images/blank.gif' width='27' height='185' alt='' class='ffimgfix' /></td>
</tr>
</table>
";
// otherwise, use the following default header and footer
}else{
// Default Header and Footer -----------------------------------------------------------
$HEADER = "
<table style='width:997px' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='r2c1'><img src='".THEME."images/blank.gif' width='2' height='25' alt='' class='ffimgfix' /></td>
<td class='r2c2' style='width:100%;white-space:nowrap'>
".GC_CUSTOM_LOGIN."
<td class='r2c3'><img src='".THEME."images/blank.gif' width='2' height='25' alt='' class='ffimgfix' /></td>
</tr>
</table>
<table style='width:997px' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='r3c1'><img src='".THEME."images/blank.gif' width='2' height='129' alt='' class='ffimgfix' /></td>
<td class='r3c2' style='width:100%;white-space:nowrap'>
<td class='r3c3'><img src='".THEME."images/blank.gif' width='2' height='129' alt='' class='ffimgfix' /></td>
</tr>
</table>
<table style='width:997px' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='r4c1'><img src='".THEME."images/blank.gif' width='27' height='25' alt='' class='ffimgfix' /></td>
<td class='r4c2' style='width:100%;white-space:nowrap'>
{SITELINKS_ALT=no_icons+noclick}
<td class='r4c3'><img src='".THEME."images/blank.gif' width='27' height='25' alt='' class='ffimgfix' /></td>
</tr>
</table>
<table style='width:997px' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='spacer1'><img src='".THEME."images/blank.gif' width='27' height='16' alt='' class='ffimgfix' /></td>
<td class='spacer2' style='width:100%;white-space:nowrap'>
<td class='spacer3'><img src='".THEME."images/blank.gif' width='27' height='16' alt='' class='ffimgfix' /></td>
</tr>
</table>
<table style='width:997px' cellspacing='0' cellpadding='0' align='center' bgcolor='#484B4B'>
<tr>
<td class='leftr5'><img src='".THEME."images/blank.gif' width='27' alt='' class='ffimgfix' />
</td>
<td class='r5c2' style='width:15%; vertical-align:top;' class='ffimgfix' />
{SETSTYLE=leftmenu}
{MENU=1}
</td>
{SETSTYLE=default}
<td style='width:100%; vertical-align:top;'>
{MENU=2}
";
$FOOTER = "
{MENU=3}
</td>
<td style='width:20%; vertical-align:top'>
{MENU=4}
</td>
<td class='rightr5'><img src='".THEME."images/blank.gif' width='27' alt='' class='ffimgfix' />
</td>
</tr>
</table>
<table style='width:997px' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='r6c1'><img src='".THEME."images/blank.gif' width='27' height='185' alt='' class='ffimgfix' /></td>
<td class='r6c2' style='width:100%;white-space:nowrap'>
{SITEDISCLAIMER}
<td class='r6c3'><img src='".THEME."images/blank.gif' width='27' height='185' alt='' class='ffimgfix' /></td>
</tr>
</table>
";
}
//[newsstyle]
$NEWSSTYLE = "
<div style='cursor:pointer' onclick=\"expandit('exp_news_{NEWSID}')\">
<table cellpadding='0' cellspacing='0' border='0'>
<tr>
<td class='mt1'><img src='".THEME."images/blank.gif' width='9' height='42' alt='' class='ffimgfix' /></td>
<td class='mtm' style='width:100%;white-space:nowrap'>
{NEWSTITLE}
</td>
<td class='mt2'><img src='".THEME."images/blank.gif' width='9' height='42' alt='' class='ffimgfix' /></td>
</tr>
</table>
</div>
<div id='exp_news_{NEWSID}'>
<table cellpadding='0' cellspacing='0' border='0'>
<tr>
<td class='mleft'><img src='".THEME."images/blank.gif' width='9' alt='' />
</td>
<td class='middlemiddle' style='width:100%'>
{NEWSBODY}
{EXTENDED}
<br />
<div class='divide_news' style='width:100%;white-space:nowrap'>
<img src='".THEME."images/blank.gif' width='10' height='12' alt='' />
</div>
<div class='newscomments' style='text-align:center'>
<span style='white-space:nowrap'>Posted by {NEWSAUTHOR} on </span>
<span style='white-space:nowrap'>{NEWSDATE}</span> <img src='".e_IMAGE."admin_images/userclass_16.png' alt='' style='vertical-align: right;'/>
<span style='white-space:nowrap'> | {NEWSCOMMENTS}</span>
</div>
</td>
<td class='mright'><img src='".THEME."images/blank.gif' width='9' alt='' />
</td>
</tr>
</table>
</div>
<table style='width:100%' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='md1'><img src='".THEME."images/blank.gif' width='9' height='23' alt='' class='ffimgfix' /></td>
<td class='mdbg' style='width:100%'>
<td class='md2'><img src='".THEME."images/blank.gif' width='9' height='23' alt='' class='ffimgfix' /></td>
</tr>
</table>
";
//[newsbits]
define("ICONSTYLE", "float: left; border:0");
define("COMMENTLINK", "Add/Read Comments: ");
define("COMMENTOFFSTRING", "Comments are Off");
define("PRE_EXTENDEDSTRING", "<br /><br />[ ");
define("EXTENDEDSTRING", "Read the rest ...");
define("POST_EXTENDEDSTRING", " ]<br />");
define("ICONMAIL", "iconmail.png");
define("ICONPRINT", "iconprint.png");
//[mainlinkstyle]
define(PRELINK, "<font color='#FFFFFF'>» ");
define(POSTLINK, "</div>");
define(LINKSTART, "");
//define(LINKEND, "<br /><img style='margin-top: 2px; margin-bottom: 2px;' width='190' height='1' src='".THEME."images/hr.png'><br />");
define(LINKEND, "<font color='#FFFFFF'>» ");
define(LINKALIGN, "center");
//[menustyle]
function tablestyle($caption, $text)
{
global $expand_menu_counter;
$expand_menu_counter += 1;
$expand_autohide_list = array("Select Theme");
if (in_array($caption, $expand_autohide_list)) { $expand_autohide = "display:none"; } else { unset($expand_autohide); }
echo "
<div style='cursor:pointer' onclick=\"expandit('exp_menu_$expand_menu_counter')\">
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='mt1'><img src='".THEME."images/blank.gif' width='9' height='42' alt='' class='ffimgfix' /></td>
<td class='mtm' style='width:100%;white-space:nowrap'>".$caption."</td>
<td class='mt2'><img src='".THEME."images/blank.gif' width='9' height='42' alt='' class='ffimgfix' /></td>
</tr>
</table>
</div>
<div id='exp_menu_$expand_menu_counter' style='$expand_autohide'>
<table cellpadding='0' cellspacing='0'>
<tr>
<td class='mleft'><img src='".THEME."images/blank.gif' width='9' alt='' />
</td>
<td class='middlemiddle' style='width:100%'>".$text."</td>
<td class='mright'><img src='".THEME."images/blank.gif' width='9' alt='' />
</td>
</tr>
</table>
</div>
<table style='width:100%' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td class='md1'><img src='".THEME."images/blank.gif' width='9' height='23' alt='' class='ffimgfix' /></td>
<td class='mdbg' style='width:100%'>
<div style='width: 100%; text-align: center;'>
<img style='margin-top: auto; margin-bottom: auto; margin-left: auto; margin-right: auto;' src='".THEME."images/blank.gif' width='140' height='0' class='ffimgfix' />
</div>
<td class='md2'><img src='".THEME."images/blank.gif' width='9' height='23' alt='' class='ffimgfix' /></td>
</tr>
</table>
";
}
//[pollstyle]
$POLLSTYLE = <<< EOF
<b> {QUESTION} </b>
<br /><br />
{OPTIONS=<span class='alttd'>OPTION</span><br />BAR<br /><span class='smalltext'>PERCENTAGE VOTES</span><br /><br />\n}
<div style='text-align:center' class='smalltext'>{VOTE_TOTAL} {COMMENTS}
<br />
</div>
EOF;
// [chatboxstyle]
$CHATBOXSTYLE = "
<div class='spacer'>
<div class='forumheader3'>
<img src='".THEME."images/bullet2.gif' alt='bullet' />
<b>{USERNAME}</b><br />
<span class='smalltext'>{TIMEDATE}</span><br />
{MESSAGE}
</div>
</div>";
//[commentstyle]
/*$COMMENTSTYLE = "
<div style='text-align:center'>
<table style='width:100%'>
<tr>
<td colspan='2' class='alttd'>
{SUBJECT}
<b>
{USERNAME}
</b>
|
{TIMEDATE}
</td>
</tr>
<tr>
<td style='width:30%; vertical-align:top'>
<div class='spacer'>
{AVATAR}
</div>
<span class='smalltext'>
{LEVEL}
{COMMENTS}
<br />
{JOINED}
<br />
{REPLY}
</span>
</td>
<td style='width:100%; vertical-align:top'>
{COMMENT}
</td>
</tr>
</table>
</div>
<br />";
*/
?>