newlifeboy
Narys
Kapitonas
Pranešimai: 747
Įstojęs: 2007 Sau. 8 21:01:55
Galit pasakyt kaip redaguot ta meniu po headeriu kur ka reik redaguot nes as noriu paveiksliuku idet is anksto dekui
kiskiss
Narys
Terminatorius
Pranešimai: 1545
Įstojęs: 2006 Rugs. 11 17:09:58
Jei gali screena imesk kurioj vietoj tu nori deti paveiksliukus
newlifeboy
Narys
Kapitonas
Pranešimai: 747
Įstojęs: 2007 Sau. 8 21:01:55
va : http://img59.imageshack.us/img59...ledch0.gif
Ten kur raudonai ten tokei taskiukai yra tj vietoi tokiu taskiuku idet
kiskiss
Narys
Terminatorius
Pranešimai: 1545
Įstojęs: 2006 Rugs. 11 17:09:58
Theme php faila pacituok cia
newlifeboy
Narys
Kapitonas
Pranešimai: 747
Įstojęs: 2007 Sau. 8 21:01:55
<?
/*--------------------------------------------+
| Starchat Theme for PHP -Fusion all versions|
|---------------------------------------------|
| author: WTF Themes |
| web: http://phpfusionthemes.puslapiai...
| email: phpfthemes@walla.com |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/************************/
/* Theme Settings */
/************************/
$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "100%";
$theme_width_l = "180";
$theme_width_r = "180";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td class='header' width='100%'>";
// Start banner code
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><center$header_content</td>";
echo "</tr></table></td></tr></table>\n";
// End banner code
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>";
echo "<td class='sub-header'>\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " <img src='".THEME."images/killad.gif' alt=''> \n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target.">".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target.">".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</td>";
echo "<td align='right' class='sub-header'><span id=\"digitalclock\"></span>";
echo " <script language=\"javascript\">
function calctime()
{
var currenttime = new Date();
var hours = currenttime.getHours();
var minutes = currenttime.getMinutes();
var seconds = currenttime.getSeconds();
if (hours == 0)
{ hours = 12; }
if (hours < 10)
{ hours = \"0\" + hours; }
if (minutes < 10)
{ minutes = \"0\" + minutes; }
if (seconds < 10)
{ seconds = \"0\" + seconds; }
var clocklocation = document.getElementById('digitalclock');
clocklocation.innerHTML = hours + \":\" + minutes + \":\" + seconds;
setTimeout(\"calctime()\", 1000);
}
calctime();
</script>";
echo ($i == 0 ? " " : "")."</center></td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td>".stripslashes($settings['footer'])."</td>";
echo "</tr></table></td></tr></table><br>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr><td width='32%' class='footer' align='left'><div align='left'>";
if ($license == false) {
echo "";
}
echo "</div></td>";
echo "<td width='35%' class='footer' align='center'>";
echo "";
echo "<td width='33%' class='footer' align='right'>";
echo "<span class='footerstat'>".$settings['counter']." </span>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td></tr></table>";
}
//////////////////////////////////////////////////////////////naujienos//////////////////////////////////////////////////////////////
function render_news($subject, $news, $info) {
global $locale;
echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
echo "<td height='22' class='table-cellpic'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
echo "<td height='24' align='right' class='news-footer'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> Ā·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> Ā· ";
echo "".$info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
echo "<td height='23' class='table-cellpic'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." Ā· ";
echo "".$info['article_reads'].$locale['044']." ";
echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='table-cellpic' align='left'>$title</td></tr>";
echo "<tr><td class='main-body' width='100%' bgColor='#FFFFFF'>";
}
// Close table end
function closetable() {
echo "</td></tr></table></td></tr></table>";
}
function openside($title) {
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'>$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
}
function closeside() {
echo "</td></tr></table></td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
MAnjack
Garbės narys
Legenda
Pranešimai: 11821
Įstojęs: 2006 Kov. 2 20:03:58
Susirask:
$header_content
Keisk į ><img src='linkas'></center>
newlifeboy
Narys
Kapitonas
Pranešimai: 747
Įstojęs: 2007 Sau. 8 21:01:55
meta errora Parse error: syntax error, unexpected '<', expecting '&' or T_VARIABLE in /usr/home/www/ftp/Mixaz/themes/Starchat/theme.php on line 24
ir beto as noreciau ten po atskira paveiksliuka idet
Padesit ?
BloodySpeed>>> Suspaudžiau į vieną postą (iš 3) + jau ne pirmą kartą floodini
Peršokti į forumą:
Žaliems
Nebeegzistuojančios svetainės
Bendri PHP-F klausimai
WordPress
Kiti PHP, HTML, MySQL klausimai
Expert PHP, MySQL klausimai
Kitos TVS
C#, Python, Java, JS, C++ klausimai
Naujų modų pristatymai
Mods, Panels & Infusions
Themes
Jūsų saitai
Dalinuosi, dovanoju!
Klausimai apie domenus ir hostingus
VPS/DS serverių konfigūravimas ir valdymas
Viskas apie skaitliukus, top'us ir lankomumą
Dizaino konkursai
Parduodu - perku dizainą, banerį
Parduodu - perku - keičiuosi reklama
Parduodu - perku domeną, tinklapį
Siūlau - ieškau hostingo/VPS serverio
Parduodu - perku skriptą, modifikaciją, tvs
Socialiniai tinklai - Facebook ir kiti
Legalus verslas, teisiniai klausimai
Visa kita kas susiję su darbu ir pinigais
LTStartups.com - Lietuvos startuolių bendruomenė
Off-Topic diskusijos
IT naujienos
Portalo informacija
Narių pasiūlymai
Geležis ir programinė įranga
Grafika
Out Of Place
Su e-verslu nesusijęs darbas ir prekyba
Dalinuosi, dovanoju!