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

Parašė Zidezzon· 2008 Rugp. 8 12:08:32
#1

Stai themoj ir laikrodukas:






Ka daryti kad jis susiauretu, nu, kad visa tema susiauretu su tuo laikroduku, nes labai issitampe :|

Stai theme.php

<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#555555";
$body_bg = "#2e2e2e";
$theme_width = "100%";
$theme_width_l = "175";
$theme_width_r = "175";

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>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td background='".THEME."images/hbc.jpg' height='80'>&nbsp;&nbsp;&nbsp;&nbsp;$header_content</td>
</tr>
</table>
</td>
</tr>
</table>\n";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='sub-header'>".showsublinks("&middot;","white")."</td>
<td align='right' class='sub-header'>".showsubdate()."</td>
</tr>
</table>\n";

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='100%'>
<tr>
<td height='50' background='".THEME."images/fbc.jpg' align='center' class='footer'>".stripslashes($settings['footer'])."
<a href='http://www.php-fusion.co.uk' target='_blank'>Engine</a> | <a href='http://www.mrkiller.avita.lt' target='_blank'>Theme</a><br>
</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," &middot;").newsopts($info,"&middot;").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," &middot;").articleopts($info,"&middot;").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 background='".THEME."images/sbc.jpg' height='25' 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 Zidezzon· 2008 Rugp. 8 12:08:11

Parašė Pongis· 2008 Rugp. 8 12:08:02
#2

styles.css skiltyje date { } pridėk width:50px;
50 keisk į kiek reikia, kad tilptu visas laikas :)

Parašė Zidezzon· 2008 Rugp. 8 12:08:14
#3

Nerandu kur ikist :(

Parašė Jupiter· 2008 Rugp. 8 12:08:45
#4

style.css faile jugi tau parase :@

Parašė Zidezzon· 2008 Rugp. 8 12:08:04
#5

Nera tokios skilties :@ Stai styles.css :@

a {
   color : #005599;
   text-decoration : none;
}

a:hover {
   color : #000000;
   text-decoration : none;
}

a.side {
   color : #000000;
   text-decoration : none;
}

a:hover.side {
   color : #005599;
   text-decoration : none;
}

a.white {
   color : #ddd;
   text-decoration : none;
}

a:hover.white {
   color : #005599;
   text-decoration : none;
}

body {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
}

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 : 1px solid #000;
}

.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;
}

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

.full-header {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #ddd;
   background-color : #2e2e2e;
}

.footer {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #555;
   background-color : #f1f1f1;
   border : 1px solid #ccc;
   padding : 5px;
}

.button {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #005599;
   background-color : #f1f1f1;
   height : 20px;
   border : 1px solid #ccc;
   margin-top : 2px;
}

.textbox {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #000000;
   background-color : #f8f8f8;
   border : 1px solid #ccc;
}

.main-body {
   font-size : 11px;
   color : #555;
   background-color : #fff;
   padding : 4px 0px 5px 0px;
}

.side-body {
   font-size : 10px;
   color : #777;
   background-color : #f6f6f6;
   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 : #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 : #333333;
   background-color : #f1f1f1;
   border-bottom : 1px solid #e1e1e1;
   padding : 4px;
}

.tbl-border {
   color : #555;
   background-color : #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;
}



Parašė Jupiter· 2008 Rugp. 8 12:08:29
#6

O labai ja sunku yra dadeti ?

}

.date {
   width:50px;

}



Parašė Zidezzon· 2008 Rugp. 8 20:08:05
#7

Bet saitas liko issitampes :(:(

Parašė samsung123· 2008 Rugp. 8 20:08:47
#8

keisk width:50px;

Parašė Zidezzon· 2008 Rugp. 15 09:08:50
#9

Nepadejot, tik biski :[

Parašė Regimantas· 2008 Rugp. 15 10:08:44
#10

<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#555555";
$body_bg = "#2e2e2e";
$theme_width = "100%";
$theme_width_l = "175";
$theme_width_r = "175";

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>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td background='".THEME."images/hbc.jpg' height='80'>&nbsp;&nbsp;&nbsp;&nbsp;$header_content</td>
</tr>
</table>
</td>
</tr>
</table>\n";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='sub-header'>".showsublinks("&middot;","white")."</td>
<td align='right' class='sub-header'>".showsubdate()."</td>
</tr>
</table>\n";

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

}

Kur pazimejau riskiau tenkeisk daryk pagal headeri

Redagavo Regimantas· 2008 Rugp. 15 11:08:11