webzlt
Narys
Kapitonas
Pranešimai: 706
Įstojęs: 2010 Sau. 13 12:01:58
|
sucentruok:
echo "<div style='text-align:center;'><table cellpadding='0' cellspacing='0' width='700px'>\n<tr>\n";
echo "<td class='sub-header'>".showsublinks(" <span class='bullet'>·</span> ","white")."</td>\n";
echo "<td align='right' class='sub-header'>".showsubdate()."</td>\n";
echo "</tr>\n</table>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' width='700px' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
//Footer
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='700px'>\n<tr>\n";
echo "<td align='center' class='footer'>".stripslashes($settings['footer'])."<br />\n";
if (!$license) { echo showcopyright()."<br /><br />\n"; } echo showcounter()."<br /><br />\n";
echo "</td>\n</tr>\n</table>\n";
echo "</td>\n</tr>\n</table></div>\n";
0
www.smilez360.com
www.thevideowars.com
www.pigiau.biz |
Use Google
Narys
Generolas
Pranešimai: 1061
Įstojęs: 2009 Vas. 13 17:02:17
|
Tik tekstas susicentruoja, o pats blokas nejuda is vietos. 0
|
sniuff
Narys
Antras po Dievo
Pranešimai: 4491
Įstojęs: 2007 Geg. 14 16:05:52
|
//Header
echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' class='outer-border center'>\n<tr>\n";
echo "<td>\n";
echo "<table cellpadding='0' cellspacing='0' width='700px'>\n<tr>\n";
echo "<td class='full-header'>\n".showbanners()."</td>\n";
echo "</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='700px' class='center'>\n<tr>\n";
echo "<td class='sub-header'>".showsublinks(" <span class='bullet'>·</span> ","white")."</td>\n";
echo "<td align='right' class='sub-header'>".showsubdate()."</td>\n";
echo "</tr>\n</table>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' width='700px' class='$main_style center'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
//Footer
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='700px' class='center>\n<tr>\n";
echo "<td align='center' class='footer'>".stripslashes($settings['footer'])."<br />\n";
if (!$license) { echo showcopyright()."<br /><br />\n"; } echo showcounter()."<br /><br />\n";
echo "</td>\n</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
Kuo toliau, tuo debiliškesni nickai.0
http://androider.info/ |
Use Google
Narys
Generolas
Pranešimai: 1061
Įstojęs: 2009 Vas. 13 17:02:17
|
Aciu Sniuff :)
Vel beda turiu.
Kodel headeris siauras (koks ir turi buti), o pats turinys saito issitemes. Padesit?
theme.php:
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_WIDTH", "800px");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style;
//Header
echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' class='outer-border center'>\n<tr>\n";
echo "<td>\n";
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."'>\n<tr>\n";
echo "<td class='full-header'>\n".showbanners()."</td>\n";
echo "</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' class='center'>\n<tr>\n";
echo "<br>";
echo "</tr>\n</table>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' class='$main_style center'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."'>\n<tr>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id']);
echo "</td>\n</tr>\n</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table cellpadding='0' cellspacing='0' width='520px'>\n<tr>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</td>\n</tr>\n</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='180px'>\n<tr>\n";
echo "<td class='capmain'>".$title."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>\n";
}
function closetable() {
echo "</td>\n</tr>\n</table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' width='180px' class='border'>\n<tr>\n";
echo "<td class='scapmain'>".$title."</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n";
}
echo "</tr>\n<tr>\n";
echo "<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside($collapse = false) {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n</tr>\n</table>\n";
}
?>
0
|
citni
Narys
Kapitonas
Pranešimai: 796
Įstojęs: 2009 Bir. 28 15:06:04
|
Tai gal pats headeris nupieštas per mažas??? 0
|
Use Google
Narys
Generolas
Pranešimai: 1061
Įstojęs: 2009 Vas. 13 17:02:17
|
Emighty parašė:
Tai gal pats headeris nupieštas per mažas???
Na nepiestas jis, is default paimtas. Sita varijanta galima atmest O siaip cia ne headeryje esme, o paciam turini (kur rasos naujienos ir t.t.), jis per platus.0
|
citni
Narys
Kapitonas
Pranešimai: 796
Įstojęs: 2009 Bir. 28 15:06:04
|
Tai tada keisk...
define("THEME_WIDTH", "800px");
0
Redagavo citni 2010 Geg. 12 17:05:07 |
Use Google
Narys
Generolas
Pranešimai: 1061
Įstojęs: 2009 Vas. 13 17:02:17
|
Emighty parašė:
Tai tada keisk...
define("THEME_WIDTH", "800px");
Galvoji nebandziau? Jei padarysi 900, tai ir headeris ir pats turinys praplates.0
|
Use Google
Narys
Generolas
Pranešimai: 1061
Įstojęs: 2009 Vas. 13 17:02:17
|
Support'as vadinas... 0
|
webzlt
Narys
Kapitonas
Pranešimai: 706
Įstojęs: 2010 Sau. 13 12:01:58
|
nes sudo klausi o css ziurejai, redaguot bandei? pats aiskinaisi ar cia tik sedi ir padarykit uz mane..... 0
www.smilez360.com
www.thevideowars.com
www.pigiau.biz |
Use Google
Narys
Generolas
Pranešimai: 1061
Įstojęs: 2009 Vas. 13 17:02:17
|
Jei sudo klausiu, tai ko nepadedi? Jeigu mokeciau ir zinociau kame pautai nesedeciau cia 0
|
webzlt
Narys
Kapitonas
Pranešimai: 706
Įstojęs: 2010 Sau. 13 12:01:58
|
neturiu laiko niekais uzsiimineti, + kai pats gali issiaiskint ir pasidaryt, ar tingi? gal uz tave ir saita padaryt? 0
www.smilez360.com
www.thevideowars.com
www.pigiau.biz |
Use Google
Narys
Generolas
Pranešimai: 1061
Įstojęs: 2009 Vas. 13 17:02:17
|
webzlt parašė:
neturiu laiko niekais uzsiimineti, + kai pats gali issiaiskint ir pasidaryt, ar tingi? gal uz tave ir saita padaryt?
Zmogau, jei jau cia rasau tai reiskias ir bandziau.0
|
Creatium
Administratorius
Viršesnis už Dievą
Pranešimai: 5868
Įstojęs: 2007 Rugp. 9 17:08:20
|
O jeigu tarkim padarai vietoj 800px 900px, tai praplatėja vienodai ir headeris ir turinys, ar irgi lieka headeris mažesnis? 0
www.creatium.lt |
Use Google
Narys
Generolas
Pranešimai: 1061
Įstojęs: 2009 Vas. 13 17:02:17
|
Isplateja abu. Ir headeris ir turinys. 0
|
Creatium
Administratorius
Viršesnis už Dievą
Pranešimai: 5868
Įstojęs: 2007 Rugp. 9 17:08:20
|
Man šita vieta įdomi:
class='$main_style center'
Pabandyk ją pašalinti ir žiūrėk ar pasitaisys.0
www.creatium.lt |
edeni
Narys
Terminatorius
Pranešimai: 1502
Įstojęs: 2008 Vas. 7 19:02:18
|
Ei, o kam tu render_news dydį darai kaip THEME_WIDTH ??
Gal pamegink keist:
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='KEISK TOL KOL BUS GERAI.'>\n<tr>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id']);
echo "</td>\n</tr>\n</table>\n";
}
0
http://itouch.lt - iBendruomenė. |
webzlt
Narys
Kapitonas
Pranešimai: 706
Įstojęs: 2010 Sau. 13 12:01:58
|
rodyk css geriau . 0
www.smilez360.com
www.thevideowars.com
www.pigiau.biz |
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
webzlt svaigsti ir nejauti 0
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
Use Google
Narys
Generolas
Pranešimai: 1061
Įstojęs: 2009 Vas. 13 17:02:17
|
Nei vienas is paminetu budu nepavyko. Bet esme tame, kad taip nutiko kai buvo parasyta naujiena. Del visa ko duodu news.php faila:
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: news.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
require_once "maincore.php";
require_once THEMES."templates/header.php";
// Predefined variables, do not edit these values
if ($settings['news_style'] == "1") { $i = 0; $rc = 0; $ncount = 1; $ncolumn = 1; $news_[0] = ""; $news_[1] = ""; $news_[2] = ""; } else { $i = 1; }
// Number of news displayed
$items_per_page = $settings['newsperpage'];
add_to_title($locale['global_200'].$locale['global_077']);
if (!isset($_GET['readmore']) || !isnum($_GET['readmore'])) {
$rows = dbcount("(news_id)", DB_NEWS, groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") AND news_draft='0'");
if (!isset($_GET['rowstart']) || !isnum($_GET['rowstart'])) { $_GET['rowstart'] = 0; }
if ($rows) {
$result = dbquery(
"SELECT tn.*, tc.*, user_id, user_name FROM ".DB_NEWS." tn
LEFT JOIN ".DB_USERS." tu ON tn.news_name=tu.user_id
LEFT JOIN ".DB_NEWS_CATS." tc ON tn.news_cat=tc.news_cat_id
WHERE ".groupaccess('news_visibility')." AND (news_start='0'||news_start<=".time().") AND (news_end='0'||news_end>=".time().") AND news_draft='0'
ORDER BY news_sticky DESC, news_datestamp DESC LIMIT ".$_GET['rowstart'].",$items_per_page"
);
$numrows = dbrows($result);
if ($settings['news_style'] == "1") { $nrows = round((dbrows($result) - 1) / 2); }
while ($data = dbarray($result)) {
$news_cat_image = "";
$news_subject = "<a name='news_".$data['news_id']."' id='news_".$data['news_id']."'></a>".stripslashes($data['news_subject']);
if ($data['news_cat_image']) {
$news_cat_image = "<a href='news_cats.php?cat_id=".$data['news_cat_id']."'><img src='".get_image("nc_".$data['news_cat_name'])."' alt='".$data['news_cat_name']."' class='news-category' /></a>";
} else {
$news_cat_image = "";
}
$news_news = $data['news_breaks'] == "y" ? nl2br(stripslashes($data['news_news'])) : stripslashes($data['news_news']);
if ($news_cat_image != "") $news_news = $news_cat_image.$news_news;
$news_info = array(
"news_id" => $data['news_id'],
"user_id" => $data['user_id'],
"user_name" => $data['user_name'],
"news_date" => $data['news_datestamp'],
"news_ext" => $data['news_extended'] ? "y" : "n",
"news_reads" => $data['news_reads'],
"news_comments" => dbcount("(comment_id)", DB_COMMENTS, "comment_type='N' AND comment_item_id='".$data['news_id']."'"),
"news_allow_comments" => $data['news_allow_comments']
);
if ($settings['news_style'] == "1") {
if ($rows <= 2 || $ncount == 1) {
$news_[0] .= "<table width='100%' cellpadding='0' cellspacing='0'>\n";
$news_[0] .= "<tr>\n<td class='tbl2'><strong>".$news_subject."</strong></td>\n</tr>\n";
$news_[0] .= "<tr>\n<td class='tbl1' style='text-align:justify'>".$news_news."</td>\n</tr>\n";
$news_[0] .= "<tr>\n<td align='center' class='tbl2'>\n";
$news_[0] .= "<span class='small2'>".THEME_BULLET." <a href='profile.php?lookup=".$news_info['user_id']."'>".$news_info['user_name']."</a> ".$locale['global_071'].showdate("longdate", $news_info['news_date'])." ·\n";
if ($news_info['news_ext'] == "y" || $news_info['news_allow_comments']) {
$news_[0] .= $news_info['news_ext'] == "y" ? "<a href='".FUSION_SELF."?readmore=".$news_info['news_id']."'>".$locale['global_072']."</a> ·\n" : "";
$news_[0] .= $news_info['news_allow_comments'] ? "<a href='".FUSION_SELF."?readmore=".$news_info['news_id']."'>".$news_info['news_comments'].($news_info['news_comments'] == 1 ? $locale['global_073b'] : $locale['global_073'])."</a> ·\n" : "";
$news_[0] .= $news_info['news_reads'].$locale['global_074']." ·\n";
}
$news_[0] .= "<a href='print.php?type=N&item_id=".$news_info['news_id']."'><img src='".get_image("printer")."' alt='".$locale['global_075']."' style='vertical-align:middle;border:0;' /></a>";
if (checkrights("N")) { $news_[0] .= " · <a href='".ADMIN."news.php".$aidlink."&action=edit&news_id=".$news_info['news_id']."'><img src='".get_image("edit")."' alt='".$locale['global_076']."' title='".$locale['global_076']."' style='vertical-align:middle;border:0;' /></a></span>\n"; } else { $news_[0] .= "</span>\n"; }
$news_[0] .= "</td>\n</tr>\n</table>\n";
if ($ncount != $rows) { $news_[0] .= "<div><img src='".get_image("blank")."' alt='' width='1' height='8' /></div>\n"; }
} else {
if ($i == $nrows && $ncolumn != 2) { $ncolumn = 2; $i = 0; }
$row_color = ($rc % 2 == 0 ? "tbl2" : "tbl1");
$news_[$ncolumn] .= "<table width='100%' cellpadding='0' cellspacing='0'>\n";
$news_[$ncolumn] .= "<tr>\n<td class='tbl2'><strong>".$news_subject."</strong></td>\n</tr>\n";
$news_[$ncolumn] .= "<tr>\n<td class='tbl1' style='text-align:justify'>".$news_news."</td>\n</tr>\n";
$news_[$ncolumn] .= "<tr>\n<td align='center' class='tbl2'>\n";
$news_[$ncolumn] .= "<span class='small2'>".THEME_BULLET." <a href='profile.php?lookup=".$news_info['user_id']."'>".$news_info['user_name']."</a> ".$locale['global_071'].showdate("longdate", $news_info['news_date']);
if ($news_info['news_ext'] == "y" || $news_info['news_allow_comments']) {
$news_[$ncolumn] .= "<br />\n";
$news_[$ncolumn] .= $news_info['news_ext'] == "y" ? "<a href='".FUSION_SELF."?readmore=".$news_info['news_id']."'>".$locale['global_072']."</a> ·\n" : "";
$news_[$ncolumn] .= $news_info['news_allow_comments'] ? "<a href='".FUSION_SELF."?readmore=".$news_info['news_id']."#comments'>".$news_info['news_comments'].($news_info['news_comments'] == 1 ? $locale['global_073b'] : $locale['global_073'])."</a> ·\n" : "";
$news_[$ncolumn] .= $news_info['news_reads'].$locale['global_074']." ·\n";
} else {
$news_[$ncolumn] .= " ·\n";
}
$news_[$ncolumn] .= "<a href='print.php?type=N&item_id=".$news_info['news_id']."'><img src='".get_image("printer")."' alt='".$locale['global_075']."' style='vertical-align:middle;border:0;' /></a>\n";
if (checkrights("N")) { $news_[$ncolumn] .= " · <a href='".ADMIN."news.php".$aidlink."&action=edit&news_id=".$news_info['news_id']."'><img src='".get_image("edit")."' alt='".$locale['global_076']."' title='".$locale['global_076']."' style='vertical-align:middle;border:0;' /></a></span>\n"; } else { $news_[$ncolumn] .= "</span>\n"; }
$news_[$ncolumn] .= "</td>\n</tr>\n</table>\n";
if ($ncolumn == 1 && $i < ($nrows - 1)) { $news_[$ncolumn] .= "<div><img src='".get_image("blank")."' alt='' width='1' height='8' /></div>\n"; }
if ($ncolumn == 2 && $i < (dbrows($result) - $nrows - 2)) { $news_[$ncolumn] .= "<div><img src='".get_image("blank")."' alt='' width='1' height='8' /></div>\n"; }
$i++; $rc++;
}
$ncount++;
} else {
echo "<!--news_prepost_".$i."-->\n";
$i++;
render_news($news_subject, $news_news, $news_info);
}
}
if ($settings['news_style'] == "1") {
opentable($locale['global_077']);
echo "<table cellpadding='0' cellspacing='0' style='width:100%'>\n<tr>\n<td colspan='3' style='width:100%'>\n";
echo $news_[0];
echo "</td>\n</tr>\n<tr>\n<td style='width:50%;vertical-align:top;'>\n";
echo $news_[1];
echo "</td>\n<td style='width:10px'><img src='".get_image("blank")."' alt='' width='10' height='1' /></td>\n<td style='width:50%;vertical-align:top;'>\n";
echo $news_[2];
echo "</td>\n</tr>\n</table>\n";
closetable();
}
if ($rows > $items_per_page) echo "<div align='center' style=';margin-top:5px;'>\n".makepagenav($_GET['rowstart'],$items_per_page,$rows,3)."\n</div>\n";
} else {
opentable($locale['global_077']);
echo "<div style='text-align:center'><br />\n".$locale['global_078']."<br /><br />\n</div>\n";
closetable();
}
} else {
include INCLUDES."comments_include.php";
include INCLUDES."ratings_include.php";
$result = dbquery(
"SELECT tn.*, user_id, user_name FROM ".DB_NEWS." tn
LEFT JOIN ".DB_USERS." tu ON tn.news_name=tu.user_id
WHERE news_id='".$_GET['readmore']."' AND news_draft='0'"
);
if (dbrows($result)!=0) {
$data = dbarray($result);
if (checkgroup($data['news_visibility'])) {
$news_cat_image = "";
if (!isset($_POST['post_comment']) && !isset($_POST['post_rating'])) {
$result2 = dbquery("UPDATE ".DB_NEWS." SET news_reads=news_reads+1 WHERE news_id='".$_GET['readmore']."'");
$data['news_reads']++;
}
$news_subject = $data['news_subject'];
if ($data['news_cat']) {
$result2 = dbquery("SELECT * FROM ".DB_NEWS_CATS." WHERE news_cat_id='".$data['news_cat']."'");
if (dbrows($result2)) {
$data2 = dbarray($result2);
$news_cat_image = "<a href='news_cats.php?cat_id=".$data2['news_cat_id']."'><img src='".get_image("nc_".$data2['news_cat_name'])."' alt='".$data2['news_cat_name']."' class='news-category' /></a>";
}
}
$news_news = stripslashes($data['news_extended'] ? $data['news_extended'] : $data['news_news']);
if ($data['news_breaks'] == "y") { $news_news = nl2br($news_news); }
if ($news_cat_image != "") $news_news = $news_cat_image.$news_news;
$news_info = array(
"news_id" => $data['news_id'],
"user_id" => $data['user_id'],
"user_name" => $data['user_name'],
"news_date" => $data['news_datestamp'],
"news_ext" => "n",
"news_reads" => $data['news_reads'],
"news_comments" => dbcount("(comment_id)", DB_COMMENTS, "comment_type='N' AND comment_item_id='".$data['news_id']."'"),
"news_allow_comments" => $data['news_allow_comments']
);
add_to_title($locale['global_201'].$news_subject);
echo "<!--news_pre_readmore-->";
render_news($news_subject, $news_news, $news_info);
echo "<!--news_sub_readmore-->";
if ($data['news_allow_comments']) { showcomments("N", DB_NEWS, "news_id", $_GET['readmore'], FUSION_SELF."?readmore=".$_GET['readmore']); }
if ($data['news_allow_ratings']) { showratings("N", $_GET['readmore'], FUSION_SELF."?readmore=".$_GET['readmore']); }
} else {
redirect(FUSION_SELF);
}
} else {
redirect(FUSION_SELF);
}
}
require_once THEMES."templates/footer.php";
?>
0
|
webzlt
Narys
Kapitonas
Pranešimai: 706
Įstojęs: 2010 Sau. 13 12:01:58
|
Zeck parašė:
webzlt svaigsti ir nejauti
as bent jau zinau ka kalbu prie ko cia news.php ? css0
www.smilez360.com
www.thevideowars.com
www.pigiau.biz |
Use Google
Narys
Generolas
Pranešimai: 1061
Įstojęs: 2009 Vas. 13 17:02:17
|
Nu imk ta .css
a {
color : #005599;
text-decoration : none;
}
a:hover {
color : #005599;
text-decoration : underline;
}
a.side {
color : #005599;
text-decoration : none;
}
a:hover.side {
color : #005599;
text-decoration : underline;
}
a.white, li.white a {
color: #ddd;
text-decoration: none;
}
a:hover.white, li.white a:hover {
color: #ddd;
text-decoration: underline;
}
body {
color : #555;
background-image: url(images/bg.png);
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
form {
margin : 0px;
}
hr {
height : 0px;
border : 0px solid #eee;
}
hr.side-hr {
height : 0px;
border : 0px solid #eee;
}
td {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
pre {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}
.alt {
color : #005599;
}
.outer-border {
border : 0px solid #dddddd;
}
.sub-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000;
background-color : #888;
border-top : 0px solid #000;
border-bottom : 0px solid #000;
padding : 5px;
}
.sub-header ul{
margin: 0;
padding: 0;
}
.sub-header ul li{
display: inline;
}
.sub-header ul li.first-link .bullet{
display: none;
}
.full-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #ddd;
background-color : #c80000;
padding : 10px;
}
.footer {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #555;
background-color : #f1f1f1;
border : 0px solid #ccc;
padding : 5px;
}
.button {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #555;
background-color : #f1f1f1;
height : 20px;
border : 1px solid #ccc;
margin-top : 2px;
}
.bbcode {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #555;
background-color : #f1f1f1;
border : 1px solid #ccc;
margin-top : 2px;
}
.textbox {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #555;
background-color : #f8f8f8;
border : 1px solid #ccc;
}
.main-body {
font-size : 11px;
color : #555;
background-color : #fff;
padding : 4px 0px 5px 0px;
}
.center {
margin : 0 auto;
}
.side-body {
font-size : 10px;
color : #777;
background-color : #f6f6f6;
padding : 4px;
}
.main-bg {
color : #555;
background-color : #fff;
padding : 10px 10px 5px 10px;
}
.border {
border : 1px solid #e1e1e1;
margin-bottom : 5px;
}
.admin-message {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
text-align : center;
color : #555;
background-color : #f6f6f6;
border : 1px solid #e1e1e1;
padding : 3px 4px 5px 4px;
margin-bottom : 5px;
}
.side-left .side-border-right {display: none;}
.side-right .side-border-left {display: none;}
.side-border-left {
color : #777;
background-color : #fff;
padding : 10px 0px 10px 10px;
width: 175px;
}
.side-border-right {
color : #777;
background-color : #fff;
padding : 10px 10px 10px 0px;
width: 175px;
}
.news-category {
border:0;
margin:3px 5px 0 0;
float:left;
}
.news-footer {
font-size : 10px;
color : #555;
background-color : #f1f1f1;
padding : 3px 4px 4px 4px;
}
.capmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : bold;
color : #666;
background-color : #fff;
padding : 2px 0px 4px 0px;
}
.scapmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
font-weight : bold;
color : #666;
background-color : #f1f1f1;
border-bottom : 1px solid #e1e1e1;
padding : 4px;
}
.tbl-border {
border : 1px solid #e1e1e1;
}
.tbl {
font-size : 11px;
color : #555;
background-color : #fff;
padding : 4px;
}
.tbl1 {
font-size : 11px;
color : #555;
background-color : #fff;
padding : 4px;
}
.tbl2 {
font-size : 11px;
color : #555;
background-color : #f1f1f1;
padding : 4px;
}
.forum-caption {
font-size : 11px;
font-weight : bold;
color : #888;
background-color : #f1f1f1;
padding : 2px 4px 4px 4px;
}
.quote {
font-size : 11px;
color : #555;
background-color : #f8f8f8;
padding : 4px;
margin : 0px 20px 0px 20px;
border : 1px solid #bbb;
}
.poll {
height : 12px;
border : 1px solid #bbb;
}
.comment-name {
font-weight : bold;
color : #005599;
}
.shoutboxname {
font-weight : bold;
color : #005599;
background-color : #f6f6f6;
}
.shoutbox {
color : #777;
background-color : #f6f6f6;
}
.shoutboxdate {
font-size : 10px;
color : #888;
background-color : #f6f6f6;
}
.small {
font-size : 10px;
font-weight : normal;
}
.small2 {
font-size : 10px;
font-weight : normal;
color : #555;
}
.side-small {
font-size : 10px;
font-weight : normal;
color : #555;
background-color : #f6f6f6;
}
.side-label {
color : #555;
background-color : #f1f1f1;
padding : 2px 2px 3px 2px;
}
/* Vertical Navigation */
#navigation h2 {
font-size: 10px;
color : #555;
background-color: #f1f1f1;
margin: 0;
padding: 4px;
}
#navigation ul {
margin: 0;
padding: 0;
list-style-type: none;
}
* html #navigation ul li{
height: 1%;
}
#navigation a {
display: block;
color: #005599;
background-color: #f6f6f6;
padding: 2px;
text-decoration : none;
}
#navigation a:hover {
color: #f6f6f6;
background-color: #005599;
}
/* Page Navigation */
.pagenav {
padding: 0.4em;
}
.pagenav span {
color: #fff;
background-color: #005599;
border: 1px solid #e1e1e1;
padding: 0.2em 0.4em 0.2em 0.4em;
margin: 0.2em;
}
.pagenav a {
color: #005599;
background-color: #fff;
border: 1px solid #e1e1e1;
padding: 0.2em 0.4em 0.2em 0.4em;
margin: 0.2em;
text-decoration: none;
}
.pagenav a:hover {
color: #fff;
background-color: #005599;
margin: 0.2em;
text-decoration: none;
}
0
|
edeni
Narys
Terminatorius
Pranešimai: 1502
Įstojęs: 2008 Vas. 7 19:02:18
|
Pamėgink padaryt ta ką aš viršuje parodžiau. 0
http://itouch.lt - iBendruomenė. |
Creatium
Administratorius
Viršesnis už Dievą
Pranešimai: 5868
Įstojęs: 2007 Rugp. 9 17:08:20
|
Jop, Goku variantas tau tikrai padės. Tame problema ir buvo. 0
www.creatium.lt |
Use Google
Narys
Generolas
Pranešimai: 1061
Įstojęs: 2009 Vas. 13 17:02:17
|
Yra kodas:
if (iMEMBER) {
echo "<center>Sveikas, nary!";
} else {
echo "<a href='/login.php'>Prisijungti</a> | <a href='/register.php'>Registruotis</a></center>";
}
kai ji idedu i saita, meta klaida:
Parse error: syntax error, unexpected '>' in /home/tsmods/domains/public_html/themes/tema/theme.php on line 23
Kaip istaisyti? 23 eilute yra:
echo "<center>Sveikas, nary!"; 0
|
vagis
Narys
Nuolatinis
Pranešimai: 166
Įstojęs: 2010 Vas. 21 21:02:46
|
if (iMEMBER) {
echo "<center>Sveikas, nary!</center>";
} else {
echo "<center><a href='/login.php'>Prisijungti</a></center> | <center><a href='/register.php'>Registruotis</a></center>";
}
Mėgink 0
vagis |
Use Google
Narys
Generolas
Pranešimai: 1061
Įstojęs: 2009 Vas. 13 17:02:17
|
Tas pats... Nebesuprantu kur cia klaida gali but. 0
|
edeni
Narys
Terminatorius
Pranešimai: 1502
Įstojęs: 2008 Vas. 7 19:02:18
|
Parodyk prieš tai esamas eilutes. 0
http://itouch.lt - iBendruomenė. |
Use Google
Narys
Generolas
Pranešimai: 1061
Įstojęs: 2009 Vas. 13 17:02:17
|
//Header
echo "<table align='center' cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' class='outer-border center'>\n<tr>\n";
echo "<td>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' width='".THEME_WIDTH."'>\n<tr>\n";
echo "<td align='center' class='full-header'></td>\n";
echo "</tr>\n</table>\n";
echo "</td>\n</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' class='sub-header' align='center'>
if (iMEMBER) {
echo "<center>Sveikas, nary!</center>";
} else {
echo "<center><a href='/login.php'>Prisijungti</a></center> | <center><a href='/register.php'>Registruotis</a></center>";
}
\n<tr>\n";
echo "</tr>\n</table>\n";
0
|
edeni
Narys
Terminatorius
Pranešimai: 1502
Įstojęs: 2008 Vas. 7 19:02:18
|
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' class='sub-header' align='center'>";
if (iMEMBER) {
echo "<center>Sveikas, nary!</center>";
} else {
echo "<center><a href='/login.php'>Prisijungti</a></center> | <center><a href='/register.php'>Registruotis</a></center>";
}
echo "\n<tr>\n";
echo "</tr>\n</table>\n";
0
http://itouch.lt - iBendruomenė. |
Use Google
Narys
Generolas
Pranešimai: 1061
Įstojęs: 2009 Vas. 13 17:02:17
|
Kazkas su PS atsitiko. Nemoku sutvarkyt... 0
|