Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Padekite

Parašė Zidezzon· 2008 Rugp. 6 17:08:58
#1

Ka daryti, kad tie migtukai, pavirstu paprastais linkais?:





Edit:

Stai theme.php

<?
// z-Green by zszywak (http://z-themes.prv.pl)
// theme settings
$body_text = "#000000";
$body_bg = "#243D53";
$theme_width = "100%";
$theme_width_l = "180px";
$theme_width_r = "180px";

function render_header($header_content) {

global $theme_width,$settings,$userdata;

echo "<script type='text/javascript' src='".THEME."date1.js'></script>";
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border:0px #444 solid;'>
<tr>
<td>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0' style='border-left:2px #fff ridge;border-top: 2px #fff ridge;border-right: 2px #fff ridge'>\n<tr>\n<td class='header2' height='30px'>\n";
include THEME."login.php";
echo"
</td><td class='header2'>
<form name='clock' onSubmit='0'>
<input type='text' name='face' class='date' value=''>
</form>
<script type='text/javascript' language='javascript'>
startclock2()
</script>
</td>
";
echo "</tr>
</table>
</td>
</tr>
<tr>
<td class='header'>
$header_content</td>
</tr>
<tr><td>\n";

echo "<table width='100%' cellspacing='0' cellpadding='0' style='border-left:2px #fff ridge;border-bottom:2px #fff ridge;border-top: 2px #fff ridge;border-right: 2px #fff ridge'>
\n<tr>\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_visibility<='".iUSER."' AND link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
   echo "<td class='header2'><table cellspacing='5' cellpadding='3' border='0'><tr>\n";
   $i = 1;
   while($data = dbarray($result)) {
      if ($data['link_url']!="---") {
         if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
            echo "<td class='navbar' style='cursor: hand;' onClick=\"window.location='".$data['link_url']."'\" onMouseover=\"this.className='navbar-over'\" onMouseout=\"this.className='navbar'\">".$data['link_name']."</td>";
         } else {
            echo "<td class='navbar' style='cursor: hand;' onClick=\"window.location='".BASEDIR.$data['link_url']."'\" onMouseover=\"this.className='navbar-over'\" onMouseout=\"this.className='navbar'\">".$data['link_name']."</td>";
         }
      }
      if ($i != dbrows($result)) { echo "\n"; } else { echo "\n"; } $i++;
   }
   echo "</tr></table></td>\n";
}
echo "<td align='right' class='header3'>".ucwords(showdate("%A, %B %d, %Y", time()))."</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>\n";

echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";

}

function render_footer($license=false) {

global $theme_width,$settings,$locale;

echo "</tr>\n</table>\n";

echo "
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='footer'>".stripslashes($settings['footer'])."</td>
</tr>
<tr>
<td>
<table align='center' cellpadding='0' cellspacing='0' height='32px' width='100%' class='footer2'>
<td align='center' width='180px' height='32px' class='footer-left'>
z-Green Theme by <a href='http://z-themes.prv.pl' target='blank' class='side'>zszywak</a>
</td>
<td align='center' height='32px' class='footer-mid'>";
if ($license == false) {
   echo "Powered by <a href='http://www.php-fusion.co.uk' class='side'>PHP-Fusion</a> v".$settings['version']." &copy 2003-2005\n";
}
echo "</td>
<td align='center' width='180px' height='32px' class='footer-right'>
".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."<br><br>\n" : $locale['141']."<br>\n");
echo "</td>
</tr>
</table>
</td></tr></table>
</td></tr></table>\n";

}

function render_news($subject, $news, $info) {

global $locale;
   
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='caption'>$subject</td>
</tr>
<tr>
<td class='main-body'>
$news
</td>
</tr>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='infobar' align='left'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."' class='infobar2'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."
</td>
<td class='infobar' align='right'>
".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."' class='infobar2'>".$locale['042']."</a> ·\n" : "")."
<a href='news.php?readmore=".$info['news_id']."' class='infobar2'>";
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']."
<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {

global $locale;
   
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='caption'>$subject</td>
</tr>
<tr>
<td class='main-body'>\n";
echo ($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='infobar' align='left'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['040'].showdate("longdate", $info['article_date'])."</td>
<td class='infobar' align='right'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";

echo "".$info['article_reads'].$locale['044']."
<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='caption'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>\n";

}

function openside($title) {

   
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='side-caption'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
</table>\n";

}

function opensidex($title,$open="on") {

$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='side-captionl'>$title</td>
<td class='side-captionr' align='right'>
<img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class='side-body'>
<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";

}

function closesidex() {

echo "</div>
</td>
</tr>
</table>\n";

}

function tablebreak() {

echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='10'></td></tr>
</table>\n";

}
?>




Redagavo Zidezzon· 2008 Rugp. 6 17:08:23

Parašė iNeT· 2008 Rugp. 6 17:08:17
#2

Nesuprantu biški :|

Parašė tiktok51· 2008 Rugp. 6 18:08:27
#3

o kas ten tuose mygtukose blogai? :?

Parašė Žmogus· 2008 Rugp. 6 18:08:29
#4

Styles.css duok

Parašė Zidezzon· 2008 Rugp. 6 18:08:46
#5

Va:

a { color:#426E1F; text-decoration:none; font-size: 10px; font-weight: bold; }
a:hover { color:#066000; text-decoration:underline; font-size:10px; font-weight: bold; }

a.infobar2  { color:#fff; text-decoration:none; font-size: 10px; font-weight: bold; }
a:hover.infobar2  { color:#FCC00F; text-decoration:underline; font-size:10px; font-weight: bold; }

a.side { color:#FCC00F; text-decoration:none; font-size: 10px; font-weight: bold; }
a:hover.side { color:#FFF00F; text-decoration:underline; font-size:10px; font-weight: bold; }

a.white { color:#FCC00F; text-decoration:none; }
a:hover.white { color:#FFF00F; text-decoration:underline; }

body {
 color: #000;
       background-color: #fff;
        font-family:Verdana,Tahoma,Arial,Sans-Serif; font-size:11px;
   scrollbar-face-color:#376C00; scrollbar-shadow-color:#000000;
   scrollbar-highlight-color:#fff; scrollbar-3dlight-color:#000;
   scrollbar-darkshadow-color:#000; scrollbar-track-color:#000;
   scrollbar-arrow-color:#fff;
}

form { margin:0px 0px 0px 0px; }

hr { height:1px; color:#bbb }

hr.side-hr { height:1px; color:#bbb }
td { font-family:Verdana,Tahoma,Arial,Sans-Serif; font-size:11px; }

pre { font-family:Verdana,Tahoma,Arial,Sans-Serif; font-size:10px; }

.alt { color:#666; }

.header {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   background-image: url(images/header1-1.jpg);
   
   color:#FFFFFF;
   border-top:2px #fff ridge;
   border-left: 2px #fff ridge;
   border-bottom: 0px #fff ridge;
   border-right: 2px #fff ridge;
   padding:0px;
}


.header2 {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:11px;
   color:#000000; background-image: url(images/header2.jpg);
padding:0px 0px 0px 0px;
}
.navbar {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:11px;
   color: #E1E1E1;
   border: 1px ridge #488D00;
        padding:1px 1px 1px 1px;
}
.navbar-over {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:11px;
   color:#FCC00F;
   background-color:#488D00;
   border: 1px ridge #488D00;
        padding:1px 1px 1px 1px;
}

.header3 {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:11px;
   color:#fff;
   background-image: url(images/header2.jpg);
   padding:4px 4px 5px 4px;
}

.footer {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   color:#fff;
   background-image: url(images/footer.jpg);
   
   border-top:2px #fff ridge;
   border-left: 2px #fff ridge;
   border-right: 2px #fff ridge;
   padding:10px;
}

.footer2 {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   color:white;
   padding:0px;
   border-top:2px #fff ridge;
   border-bottom:2px #fff ridge;
   border-left: 2px #fff ridge;
   border-right: 2px #fff ridge;
   
}
.footer-left {
background-image: url(images/apacia2.jpg);
backgorund-repeat: repeat-y;
color: #fff;
}
.footer-right {
background-image: url(images/apacia.jpg);
backgorund-repeat: repeat-y;
color: #fff;
}

.footer-mid {
background-color:#70944A;
color: #fff;
}


.button {
   font-family:Tahoma,Arial,Verdana,Sans-Serif;
   font-size:10px;
   font-weight: bold;
   color:#000;
   background-color:#66ff00 ;
   
   padding:0px 0px 0px 0px;
   border:2px white ridge;
   margin-top:0px;
}
   
.textbox {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   color:#000; background-color:#fff;
   border:1px #000000 solid;
}
.textbox2 {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   color:#000;background-color:#fff;
        border:2px #FFF ridge;
}

.checkbox2 {
width: 15px;
height: 15px;
color:#FFCC00;
background-color:#CCFFFF;
border:2px #FFF ridge;
}
.date {
   font-family:Tahoma,Arial,Verdana,Sans-Serif;
   font-size:9px;
   font-weight:bold;
   text-align: center;
   color:#000;background-color:#fff;
   height:18px;
   width: 80px;
   border:2px #FFF ridge;
}

.main-bg {padding:10px;}

.side-body {
color: #E1E1E1;
   font-size:10px;
   border-top:0px #636363 solid;
   border-bottom:0px #636363 solid;
   border-left: 0px #636363 solid;
   border-right: 0px #636363 solid;
   
}
.side-border-left { padding:0px 0px 0px 0px;
color:#333; background-image: url(images/panel.jpg);
   background-repeat: repeat-y;
background-color:#FFFFFF;
 border-left: 2px #fff ridge;
 border-right:2px #fff ridge;
 }
.side-border-right {padding:0px 0px 0px 0px;
color:#333; background-image: url(images/panel2.jpg);
   background-repeat: repeat-y;
background-color:#FFFFFF;
border-left: 2px #fff ridge;
 border-right: 2px #fff ridge;
 }

.main-body {
   font-size:11px;
   color:#000;
   background-color:#C3CCB9;
   padding:3px 4px 3px 4px;
   border-left: 2px #fff ridge;
 border-right: 2px #fff ridge;
 border-top: 2px #fff ridge;
 border-bottom:2px #fff ridge;
}



.border {border:0px #243D53 solid; }

.infobar {
   font-size:9px;
   color:#E1E1E1;
   padding:0px 0px 0px 0px;
   
}

.caption {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:11px;
   font-weight: bold;
   color:#FCC00F;
   
   padding:2px 2px 2px 2px;
}

.side-caption {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:11px;
   font-weight: bold;
   color:#fff;
   background-image: url(images/s-caption.jpg);
   background-repeat: repeat-x;
   border-left: 1px #fff solid;
 border-right: 1px #fff solid;
 border-top: 1px #fff solid;
 border-bottom: 1px #fff solid;
   padding:2px 2px 2px 2px;
}
.side-captionl {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:11px;
   font-weight: bold;
   color:#FFF;
   background-image: url(images/header2.jpg);
   background-repeat: repeat-x;
   border-left: 1px #fff solid;
 border-top: 1px #fff solid;
 border-bottom: 1px #fff solid;
   padding:2px 2px 2px 2px;
}
.side-captionr {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:11px;
   font-weight: bold;
   color:#fff;
   background-image: url(images/header2.jpg);
   background-repeat: repeat-x;
 border-right: 1px #fff solid;
 border-top: 1px #fff solid;
 border-bottom: 1px #fff solid;
   padding:2px 2px 2px 2px;
}

.tbl-border { background-color:#000000;  }
.tbl { font-size:11px; padding:3px 4px 3px 4px; }
.tbl1 {   font-size:11px; color:#000; background-color:#DCE7D1; padding:4px; }
.tbl2 { font-size:11px; color:#000; background-color:#98CB00; padding:4px; }
   
.forum-caption {
   font-size:11px;
   font-weight: bold;
   color:#FFFFFF; background-color:#70944A;
   height:20px;
   padding:0px 4px 2px 4px;
}

.quote {
   color:#000; background-color:#FFFFFF;
   padding:2px;
   margin:0px 20px 0px 20px;
   border:1px #000000 solid;
}
   
.poll { height:12px; border:1px #000 solid; }

.comment-name { font-weight:bold; color:#113355; }

.shoutboxname {color:#E1E1E1; }
.shoutbox { color:#E0E0E0; }
.shoutboxdate { font-size:9px; color:##E1E1E1; text-align:right; }

.small { font-size:10px; font-weight:normal; }
.small2 { font-size:10px; font-weight:normal; color:#000000; }
.side-small { font-size:10px; font-weight:normal; color:#333; }
.side-label {padding:2px; color:#fff;letter-spacing: 2px;}

.gallery { padding: 16px 0px 8px 0px; }
.gallery img { border: 1px #448DB2 solid ; filter: gray; }
.gallery:hover img { border: 1px solid #D1E6F7; filter: none; }
img.activegallery { border: 1px solid #9FFCC9;)




Parašė Žmogus· 2008 Rugp. 6 18:08:02
#6

.navbar {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:11px;
   color: #E1E1E1;
 
}
.navbar-over {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:11px;
   color:#FCC00F;
   background-color:#488D00;
 
}




Esamą eilutę pakeisk šituo

Parašė Zidezzon· 2008 Rugp. 6 18:08:00
#7

Gerai, bet liko stai kas:





Parašė Žmogus· 2008 Rugp. 6 18:08:45
#8

.navbar-over {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:11px;
   color:#FCC00F;
 
}



Parašė Zidezzon· 2008 Rugp. 6 18:08:58
#9

Žiauriai thx :D