Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Dingo celpic
Parašė E01· 2009 Sau. 13 19:01:45
#1
Tai va įsikėliau į savo dizaina kito dizaino theme.php.Ir tas theme.php yra su viršutiniais migtukais.Tai nuėjas į saita žiuriu nebėra celpic.Theme.php neradau pavadinimu celpic.Gal jus žinot?
Redagavo E01· 2009 Sau. 14 14:01:58
Parašė iGolf· 2009 Sau. 13 19:01:29
#2
tai mažu buwo su URL ir išsitrynė,, :)
Parašė mXt· 2009 Sau. 13 19:01:26
#3
Sumalei Š vadinasi. Dėk seną theme.php ir baik verkt.
Parašė E01· 2009 Sau. 13 19:01:34
#4
Visai dėl button nusišnekėjau kitaip sakant celpic.
Parašė E01· 2009 Sau. 13 20:01:04
#5
Iterpiau koda ir meta theme.php koda kad butu mygtukai.
Meta kad 38 eilute blogai kas paredaguotu ?
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#555555";
$body_bg = "#006600";
$theme_width = "988";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink,$db_prefix;
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #000000 1px; border-left: solid #000000 1px; border-top: solid #000000 1px; margin-top: -5px;'>";
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%'>";
echo "<tr><table align=center width=100% height=270 background='".THEME."images/baner.jpg' border=0 cellspacing=0 cellpadding=0>";
echo"<tr><td height=50 class='nuorodos' align='right' style='padding-right:50px; padding-top:130px;'><br>";
echo"<table width='50%'><tr>";
echo"<td width='40%'>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
<td><table border='0' align='center' cellpadding='0' cellspacing='0'>
<td width='75' align='center'><a href='".BASEDIR."index.php'><img src='".THEME."images/Namai.png' border=0' alt='Pradinis'></a></td>
<td width='75' align='center'><a href='".FORUM."index.php'><img src='".THEME."images/Forumas.png' border=0' alt='Diskusijos'></td>
<td width='75' align='center'><a href='".BASEDIR."articles.php'><img src='".THEME."images/Straipsniai.png' border=0' alt='Turnyrai'></td>
<td width='75' align='center'><a href='".BASEDIR."viewpage.php?page_id=1'><img src='".THEME."images/Turnyrai.png' border=0' alt='Straipsniai'></td>
<td width='75' align='center'><a href='".BASEDIR."downloads.php'><img src='".THEME."images/Siuntiniai.png' border=0' alt='Siuntiniai'></td>
<td width='75' align='center'><a href='".BASEDIR."reklama.php'><img src='".THEME."images/Reklama.png' border=0' alt='Reklama'></td>
<td width='75' align='center'><a href='".BASEDIR."http://www.cs-dry.xz.lt/serveriai/index.php'><img src='".THEME."images/Serveriai.png' border=0' alt='Serveriai'></td>
</tr>
</table></td>
</tr>
</table>\n";
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "</td><td width='60%' style='padding-left:80px;' >";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "</tr>
</table>";
echo "</td></tr>
<tr></tr>
<tr><td height=31></td></tr>
</table>
";
echo"</td></tr><tr></tr><tr><td></td></tr></table>";
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='$theme_width' class='footer'>
<tr>
<td width='93'></td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Redagavo E01· 2009 Sau. 13 22:01:41
Parašė E01· 2009 Sau. 13 22:01:25
#6
Darau off-topic bet labai reikia :| Padėkit :?
Parašė V8· 2009 Sau. 13 22:01:44
#7
isjunk kode smailus
Parašė E01· 2009 Sau. 14 12:01:05
#8
No help ? :|
Parašė dyaz· 2009 Sau. 14 13:01:37
#9
Nufotkink ir parodyk screena :p
Parašė E01· 2009 Sau. 14 14:01:18
#10
Vo :?
Parašė E01· 2009 Sau. 14 15:01:04
#11
:? Tai nieks nežinot :?
Parašė kLx· 2009 Sau. 14 15:01:13
#12
Taigi tarp function openside ir function opentable ,netos
css klasės surašytos..
Parašė edis2· 2009 Sau. 14 16:01:04
#13
Gal celpicų nėra??
Parašė E01· 2009 Sau. 14 16:01:00
#14
edis2 parašė:
Gal celpicų nėra??
Taip ir rašiau kad celpicų nėra :|
Tai į kokias man klases pakeist ? :?
Redagavo E01· 2009 Sau. 14 16:01:15
Parašė E01· 2009 Sau. 14 20:01:59
#15
Tai nieks nežinot kaip theme.php klases pakeist style.css :[
Štai style.css:
a {
color : #fff;
text-decoration : none;
}
a:hover {
color : #fff;
text-decoration : underline;
}
a.side {
color : #fff;
text-decoration : none;
}
a:hover.side {
color : #fff;
text-decoration : underline;
}
a.white {
color : #fff;
text-decoration : none;
}
a:hover.white {
color : #fff;
text-decoration : underline;
}
body {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
background: url('images/bg.gif');
}
form {
margin : 0px;
}
hr {
height : 1px;
border : 1px solid #eee;
}
hr.side-hr {
height : 1px;
border : 1px 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 dashed #fff;
}
.sub-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000;
background-color : #888;
border-top : 1px solid #000;
border-bottom : 1px solid #000;
padding : 5px;
}
.full-header {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #ddd;
background-color : #444;
padding : 10px;
}
.footer {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #555;
background-image: url('images/footer.gif');
background-color : #333333;
border : 1px solid #ccc;
padding : 20px;
}
.button {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
color : #000;
background-color : #fff;
height : 20px;
border : 1px solid #ccc;
margin-top : 0px;
}
.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 : #cccccc;
padding : 4px 0px 5px 0px;
}
.side-body {
font-size : 10px;
color : #777;
background-color : #333333;
padding : 4px;
}
.main-bg {
color : #555;
background-color : #fff;
padding : 10px 5px 10px 5px;
}
.border {
border : 1px solid #e1e1e1;
}
.side-border-left {
color : #777;
background-color : #fff;
padding : 10px 5px 10px 10px;
}
.side-border-right {
color : #777;
background-color : #fff;
padding : 10px 10px 10px 5px;
}
.news-footer {
font-size : 10px;
color : #555;
background-color : #333333;
padding : 3px 4px 4px 4px;
}
.capmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : bold;
color : #000;
text-align : center;
background-image: url('images/capmain.gif');
background-color : #fff;
padding : 8px 0px 4px 0px;
}
.scapmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
font-weight : bold;
color : #fff;
background-image: url('images/scapmain.gif');
background-color : #f1f1f1;
border-bottom : 0px solid #e1e1e1;
padding : 8px;
}
.tbl-border {
color : #555;
background-color : #cccccc;
}
.tbl {
font-size : 11px;
color : #555;
background-color : #cccccc;
padding : 4px;
}
.tbl1 {
font-size : 11px;
color : #555;
background-color : #cccccc;
padding : 4px;
}
.tbl2 {
font-size : 11px;
color : #555;
background-color : #cccccc;
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 #fff;
}
.comment-name {
font-weight : bold;
color : #005599;
}
.shoutboxname {
font-weight : bold;
color : #005599;
background-color : #333333;
}
.shoutbox {
color : #777;
background-color : #333333;
}
.shoutboxdate {
font-size : 10px;
color : #888;
background-color : #333333;
}
.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;
}
Redagavo E01· 2009 Sau. 14 20:01:54
Parašė E01· 2009 Sau. 15 13:01:53
#16
Taigi nieks nemokat pakeisti style.css klase ? :?
Parašė dyaz· 2009 Sau. 15 15:01:35
#17
Tjgi atsinaujink styles.css ir fsio