Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Reikia pagalbos su web tema

Parašė tedis69· 2013 Kov. 31 17:03:01
#1

Radau gera tema, taciau man reikia kad butu ne tokios suspaustos paneles kaireje puseje.
T.y kad butu kaip dešinės pusės panelės. Gal kas galit padeti?


Parašė Scarletas· 2013 Kov. 31 18:03:19
#2

Pateik theme.php failo informaciją.

Parašė tedis69· 2013 Kov. 31 18:03:43
#3

<?php

if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<span class='bullet'>&middot;</span>");
require_once INCLUDES."theme_functions_include.php";

function render_page($license=false) {
global $theme_width,$userdata,$settings,$locale,$data,$db_prefix,$lookup,$msg_count,$aidlink;

echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor'>\n<tr>
<td align='right' width='940'>";
echo "</td>
</tr>
</table>";
echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor2'>\n<tr>
<td align='right' width='310'>";
echo "</td>
<td align='right' width='468'>";
echo "</td>
<td align='right' width='165'>";
echo "</td>
</tr>
</table>";
echo "<table align='center' cellpadding='0' cellspacing='0' width='100%'>\n
<td>
<div id='containe'>
<div id='sub-nav'>
<a href='".BASEDIR."index.php'></a>
<ul>
<li><a href='".BASEDIR."index.php'>Pagrindinis</a></li>
<li><a href='".FORUM."index.php'>Forumas</a></li>
<li><a href='".BASEDIR."downloads.php'>Siuntiniai</a></li>
<li><a href='".BASEDIR."serveriai.php'>Serveriai</a></li>
<li><a href='".BASEDIR."taisykles.php'>Taisyklės</a></li>
<li><a href='".BASEDIR."photogallery.php'>Galerija</a></li>
<li><a href='".BASEDIR."contact.php'>Kontaktai</a></li>
<li><a href='".BASEDIR."search.php'>Paieška</a></li>
</ul>
</div>
</td>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='940' align='center' class='content'><tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top' width='260'>".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' width='260'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
echo "<table width='940' height='80' border='0' cellpadding='0' cellspacing='0' align='center' class='footer'>
<tr>
<td align='left'><br>
<span style='padding-left:20px; font-family: Tahoma; font-size: 11px;'> Svetainės admin skype: <a href='skype:vardas?chat'>Vardas</a></span><br>
<span style='padding-left:20px; font-family: Tahoma; font-size: 11px;'> Visos teisės saugomos: <a href='http://www.vardas.lt/' target='_blank'>www.vardas.lt</a></span>
</td>
<td align='center'><br>
<span style='padding-left: 75px;'><a target='_blank' href='http://www.hey.lt/details.php?id=decolor'>
<img width=88 height=31 border=0 src='//www.hey.lt/count.php?id=decolor' alt='Hey.lt - Nemokamas lankytoju skaitliukas'></a></span>
</td>
<td align='right'><br>
<span style='padding-right:65px; font-family: Tahoma; font-size: 11px;'> Dizaino įdėja: <a href='skype:decolor.?chat'>decolor. </a></span><br>
<span style='padding-right:65px; font-family: Tahoma; font-size: 11px;'> Studijos svetainė: <a href='http://www.decolor.lt/' target='_blank'>www.decolor.lt </a></span>
</td>
</tr>
</table>\n";
}

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

echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='10' height='38' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main3'><div class='panel-title-main'>$subject (".$info['news_comments']." Komentarai)</div></td>";
echo "<td><div class='panel-news'><div class='placiau'><a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>Skaityti daugiau...</a></div></div></td>";
echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='10' height='38' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "</td></tr></table></div></td>";
echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'>";
echo "</td></tr><tr>";
echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "</tr></table><div style='margin-top:5px'></div>\n";
}

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

echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main3'><div class='panel-title-main'>$subject</div></td>";
echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='10' height='43' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "<td class='article-body'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>";
echo "<td class='infobar2'>".articleposter($info," &middot;")."</td>";
echo "<td align='right' class='infobar2'>";
echo articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
echo "</td></tr></table></div></td>";
echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "</tr><tr>";
echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "</tr></table><div style='margin-top:5px'></div>\n";
}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='panel-left2'><img src='".THEME."images/blank.gif' width='10' height='38' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main2'><div class='panel-title-main'>$title</div></td>";
echo "<td class='panel-right2'><img src='".THEME."images/blank.gif' width='10' height='38' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left2'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "<td class='table-body'><br>\n";
}

function closetable() {

echo "</td>";
echo "<td class='border-right2'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft2'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain2'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright2'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "</tr></table><div style='margin-top:5px'></div>\n";
}

function openside($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='10' height='44' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$title</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='10' height='44' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
echo "<td class='side-body'><br>\n";
}

function closeside() {

global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
echo "</tr></table><div style='margin-top:5px'></div>\n";
}

?>

Parašė Scarletas· 2013 Kov. 31 19:03:13
#4

Labai atsiprašau, susimaišiau, pateik style.css failą :) ir pažymėk, kad išjungtos būtų šypsnelėlės.

Parašė tedis69· 2013 Kov. 31 19:03:50
#5

/* Comment element properties */

a {
color: #04688d;
text-decoration: none;
}

a:hover {
color: #04688d;
text-decoration: underline;
}

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

a:hover.side {
color: #f6a504;
text-decoration: underline;
}

a.white, li.white a {
color: #fff;
text-decoration: none;
}

a:hover.white, li.white a:hover {
color: #fff;
text-decoration: underline;
}

body {
background-color:#dcdcdc;
}

#plotis {
width: 1172px;
margin: auto;
}

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: #04688d;
}

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

.servas {
float: right;
width: 340px;
height: 130px;
padding: 10px 0 0 0px;
}

/* Form element properties */

form {
margin: 0px;
}

.button {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #fff;
background-color: #f6a504;
background-image: url(images/button.gif);
height: 20px;
border: 1px solid #000;
}

.bbcode {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000;
background-color: #eee;
border: 1px solid #ccc;
margin-top: 2px;
}

.bbcode-popup {
font-size: 11px;
color: #555;
background-color: #fff;
padding: 4px;
}

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

.textbox:focus {
color: #000;
background-color: #E1E1E1;
}

div.emulated-fieldset {
position: relative;
margin: 20px 0px 10px 0px;
border: 1px solid #ccc;
width: 320px;
background: inherit;
}
div.emulated-fieldset span.emulated-legend {
display: inline;
position: absolute;
top: -12px;
margin: 0 5px;
padding: 4px;
background: inherit;
}
div.emulated-fieldset div.attachments-list {
padding: 10px 3px 3px 3px;
width: 320px;
}

/* Header and footer properties */

.sub-header {
font-family: Tahoma;
font-size: 12px;
font-weight: bold;
font-style: sharp;
color: #fff;
text-transform: uppercase;
background-image: url(images/subheader.png);
width: 1146px;
height: 35px;
background-repeat: no-repeat;
margin: 0 auto;
}

.sub-header-left {
width: 12px;
height: 35px;
background-image: url(images/subheader-left.png);
padding-right: 2px;
}

.sub-header-right {
width: 10px;
height: 35px;
background-image: url(images/subheader-right.png);
padding-left: 2px;
}

/* Subheader links */

.sub-header ul{
margin: 0;
padding: 0;
}

.sub-header ul li{
display: inline;
}

.sub-header ul li.first-link .bullet{
display: none;
}

.sub-header ul li.first-link {
font-weight: bold;
}

.sub-header ul li.current-link a span {
text-decoration: underline;
}

.header {
background-image: url(images/header.png);
width: 1172px;
height: 153px;
background-repeat: no-repeat;
margin: 0 auto;
}

.footer {
font-family: Tahoma;
font-size: 12px;
color: #000;
text-align: left;
background-color: #dcdcdc;
padding: 5px;
}

.footer2 {
font-family: Tahoma;
font-size: 12px;
color: #000;
text-align: right;
background-color: #dcdcdc;
padding: 0px 0 0 35px;
}

.bottom-footer {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #fff;
background-color: #555;
padding: 4px 4px 5px 4px;
}

.main-body {
font-size: 11px;
color: #555;
background-color: #fff;
border-radius: 3px;
padding: 4px;
}

/* Side-Panel properties */

.ui-sortable { margin: 0; padding: 0; }

.side-left .side-border-right {display: none;}
.side-right .side-border-left {display: none;}

.side-border-left {
background-color: #fff;
width: 223px;
}

.side-border-right {
background-color: #fff;
width: 223px;
}

.scapmain {
font-family: Tahoma;
font-size: 12px;
font-weight: regular;
font-style: sharp;
color: #fff;
padding-left: 8px;
background-color: #fff;
background-image: url(images/scapmain.png);
height: 30px;
background-repeat: no-repeat;
}

.side-body {
font-size: 10px;
color: #555;
background-color: #fff;
padding: 4px;
}

/* Center-Panel properties */

.news-category {
border: 0;
margin: 3px 5px 0 0;
float: left;
}

.news-footer {
font-size: 10px;
background-color: #fff;
}

.capmain {
font-family: Tahoma;
font-size: 12px;
font-weight: regular;
font-style: sharp;
color: #fff;
padding-left: 18px;
background-image: url(images/capmain.png);
width: 712px;
height: 30px;
background-repeat: no-repeat;
}

.main-bg {
background-color: #fff;
border-radius: 3px;
padding: 2px 0 5px 8px;
}

/* General table properties */
.comment-avatar {
padding-right: 6px;
float: left;
}

.center {
margin: 0 auto;
}

.tbl-border {
border: 1px solid #eee;
}

.tbl {
font-size: 12px;
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;
}

.tbl-error {
color: #AC260F;
font-weight: bold;
background-color: #FCCAC2;
border:2px solid #EB5339;
}

/* Profile spesific classes */
.profile, .profile_category {
width: 500px;
}

.edit-profile {
width: 500px;
}

/*.user_password .textbox:focus, .user_admin_password .textbox:focus {
background-color: #ff6666;
}*/

.profile_user_reason {
color: #ff6666;
font-weight: bold;
}

/*.user_name td, .user_name .textbox {
font-size: 13px;
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: #04688d;
}

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

.side-label {
color: #555;
background-color: #f1f1f1;
margin: 2px 0 2px 0;
padding: 2px 2px 3px 2px;
}

/* Vertical Navigation */

#navigation h2 {
font-size: 10px;
font-weight: normal;
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: #555;
padding: 2px;
text-decoration: none;
}

#navigation a:hover {
color: #fff;
background-color: #f6a504;
}

#navigation li.first-link a {
font-weight:bold;
}

#navigation li.current-link a {
color: #555;
background-color: #eee;
border: 1px solid #fff;
padding: 1px !important;
}

/* Page Navigation */
.pagenav {
padding: 4px;
}

.pagenav span {
color: #fff;
background-color: #f6a504;
border: 1px solid #ddd;
padding: 2px 4px 2px 4px;
margin: 2px;
}

.pagenav a {
color: #555;
background-color: #f1f1f1;
border: 1px solid #ddd;
padding: 2px 4px 2px 4px;
margin: 2px;
text-decoration: none;
}

.pagenav a:hover {
color: #fff;
background-color: #f6a504;
margin: 2px;
text-decoration: none;
}

/* PHP-Fusion Helpers */

.clear {
clear: both;
}

.float-left {
float: left;
}

.float-right {
float: right;
}

/* Helpers */

.center {margin: 0 auto;}
.content_center {text-align: center;}
.flleft {float: left !important;}
.flright {float: right !important;}
.clear {clear: both;}


/* IE Fixes */

.clearfix:after {
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}

/* Hide from IE Mac */

.clearfix {
display:block;
}

/* End hide from IE Mac */

.floatfix {
overflow:hidden;
}

* html .floatfix {
width:100%;
}

.center, *[align="center"] {
margin: 0 auto;
}

Parašė Scarletas· 2013 Kov. 31 20:03:05
#6

Katik testavau šį dizainą ir viskas tvarkoje su nustatymais, tau dizainą iškraipė monitoriaus statusas, pašalink jį ir susitvarkys :) O jeigu nenori, tada siūlau tinklapyje įjungti tik vienos pusės paneles.