$title
$content
$title
$content
$posted
$morelink
$title
$content
$posted
"; if ($banners == 1) { include("banners.php"); } $topics_list = "
\n"; $topics_list .= "
All Topics
\n"; $toplist = sql_query("select topicid, topictext from ".$prefix."_topics order by topictext", $dbi); while(list($topicid, $topics) = sql_fetch_row($toplist, $dbi)) { if ($topicid==$topic) { $sel = "selected "; } $topics_list .= "
$topics
\n"; $sel = ""; } if ($username == "Anonymous") { $theuser = "
Create an account"; } else { $theuser = " Welcome $username!"; } $public_msg = public_message(); $tmpl_file = "themes/10648/header.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; blocks(left); $tmpl_file = "themes/10648/left_center.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; } /************************************************************/ /* Function themefooter() */ /* */ /* Control the footer for your site. You don't need to */ /* close BODY and HTML tags at the end. In some part call */ /* the function for right blocks with: blocks(right); */ /* Also, $index variable need to be global and is used to */ /* determine if the page your're viewing is the Homepage or */ /* and internal one. */ /************************************************************/ function themefooter() { global $index, $foot1, $foot2, $foot3, $copyright, $totaltime; if ($index == 1) { $tmpl_file = "themes/10648/center_right.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; blocks(right); } $footer_message = "$foot1
$foot2
$foot3
$copyright
$totaltime"; $tmpl_file = "themes/10648/footer.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; } /************************************************************/ /* Function themeindex() */ /* */ /* This function format the stories on the Homepage */ /************************************************************/ function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) { global $anonymous, $tipath; $ThemeSel = get_theme(); if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) { $t_image = "themes/$ThemeSel/images/topics/$topicimage"; } else { $t_image = "$tipath$topicimage"; } if ($notes != "") { $notes = "
"._NOTE."
$notes
\n"; } else { $notes = ""; } if ("$aid" == "$informant") { $content = "$thetext$notes\n"; } else { if($informant != "") { $content = "
$informant
"; } else { $content = "$anonymous "; } $content .= ""._WRITES."
\"$thetext\"
$notes\n"; } $posted = ""._POSTEDBY." "; $posted .= get_author($aid); $posted .= " "._ON." $time $timezone ($counter "._READS.")"; $tmpl_file = "themes/10648/story_home.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; } /************************************************************/ /* Function themearticle() */ /* */ /* This function format the stories on the story page, when */ /* you click on that "Read More..." link in the home */ /************************************************************/ function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) { global $admin, $sid, $tipath; $ThemeSel = get_theme(); if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) { $t_image = "themes/$ThemeSel/images/topics/$topicimage"; } else { $t_image = "$tipath$topicimage"; } $posted = ""._POSTEDON." $datetime "._BY." "; $posted .= get_author($aid); if ($notes != "") { $notes = "
"._NOTE."
$notes
\n"; } else { $notes = ""; } if ("$aid" == "$informant") { $content = "$thetext$notes\n"; } else { if($informant != "") { $content = "
$informant
"; } else { $content = "$anonymous "; } $content .= ""._WRITES."
\"$thetext\"
$notes\n"; } $tmpl_file = "themes/10648/story_page.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; } /************************************************************/ /* Function themesidebox() */ /* */ /* Control look of your blocks. Just simple. */ /************************************************************/ function themesidebox($title, $content) { $tmpl_file = "themes/10648/blocks.html"; $thefile = implode("", file($tmpl_file)); $thefile = addslashes($thefile); $thefile = "\$r_file=\"".$thefile."\";"; eval($thefile); print $r_file; } ?> #ma big { vertical-align: top; font-weight:bold; font-size:14px} #footer {color:#8F8F8F; font-size:10px; font-family:tahoma;} #footer a {color:#FF7800; font-size:10px; font-family:tahoma;} #header td {color:#949191; font-size:13px; font-family:tahoma} #ba a{BACKGROUND: none; COLOR: #D43A25; FONT-SIZE: 10px; FONT-FAMILY: tahoma; TEXT-DECORATION: underline} #head { color:#9A9999; font-family:tahoma; font-size:10px;} #head a { color:#9A9999; font-family:tahoma; font-size:10px; text-decoration:none} #head a:hover { text-decoration:underline} .style1 { color: #E0482F; font-size: 13px; font-family: tahoma; font-weight:bold } .style2 { color: #949191; font-size: 10px; font-family: tahoma } FONT {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px; color:#949191} TD {FONT-FAMILY: Verdana,Helvetica; color:#949191; font-size:10px; margin:0; padding:0} BODY {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px; PADDING:0; MARGIN:0; background-color: #000000; color:#949191} P {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px} DIV {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px; padding:0; margin:0} INPUT {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px} TEXTAREA {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px} FORM {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px} A:link {BACKGROUND: none; COLOR: #FF7800; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline} A:active {BACKGROUND: none; COLOR: #FF7800; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline} A:visited {BACKGROUND: none; COLOR: #FF7800; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline} A:hover {BACKGROUND: none; COLOR: #949191; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline} .title {BACKGROUND: none; COLOR: #949191; FONT-SIZE: 13px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none} .content {BACKGROUND: none; COLOR: #949191; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica} .storytitle {BACKGROUND: none; COLOR: #949191; FONT-SIZE: 14px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none} .storycat {BACKGROUND: none; COLOR: #949191; FONT-SIZE: 13px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline} .boxtitle {BACKGROUND: none; COLOR: #363636; FONT-SIZE: 10px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none} .boxcontent {BACKGROUND: none; COLOR: #949191; FONT-SIZE: 12px; FONT-FAMILY: Verdana, Helvetica} .option {BACKGROUND: none; COLOR: #FF7800; FONT-SIZE: 10px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none; text-transform:uppercase;} .tiny {BACKGROUND: none; COLOR: #949191; FONT-SIZE: 10px; FONT-WEIGHT: normal; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none} .footmsg {BACKGROUND: none; COLOR: #949191; FONT-SIZE: 8px; FONT-WEIGHT: normal; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none} .footmsg_l {BACKGROUND: none; COLOR: #FF7800; FONT-SIZE: 8px; FONT-WEIGHT: normal; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline} .box {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px; border: 1px solid #000000; background-color: #A6B0BC}
Сделать
бесплатный сайт
с
uCoz