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

Parašė Ultriukas· 2009 Lap. 25 17:11:52
#1

Sveikučiai,gal galite pasakyti kaip man padaryti kad tarp headerio ir paneles nebutu tarpo,kad panele būtų prigludusi prie headerio :) aciuka


Parašė blist· 2009 Lap. 25 17:11:37
#2

kaip mes be kodo tau padarysim? mes gi ne ekstrasensai..

Parašė Ultriukas· 2009 Lap. 25 17:11:19
#3

a {
   color : #0062bc;
   text-decoration : none;
}

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

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

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

a.side2 {
   color : #ffffff;
   text-decoration : none;
}

a:hover.side2 {
   color : #cccccc;
   text-decoration : underline;
}


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

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

a.downloads {
   color : #cbeaff;
   text-decoration : none;
}

a:hover.downloads {
   color : #9fbdd1;
   text-decoration : none;
}

a.register {
   color : #f1f1f1;
   text-decoration : none;
}

a:hover.register {
   font: Tahoma;
   font-size : 11px;
   color : #cccccc;
   text-decoration : none;
}

a.zona {
   color : #f1f1f1;
   text-decoration : none;
}

a:hover.zona {
   font: Tahoma;
   font-size : 11px;
   color : #cccccc;
   text-decoration : none;
}

a.news {
   color : #f1f1f1;
   text-decoration : none;
}

a:hover.news {
   color : #cccccc;
   text-decoration : none;
}

a.comments {
   color : #f1f1f1;
   font-weight : bold;
   text-decoration : none;
}

a:hover.comments {
   color : #cccccc;
   font-weight : bold;
   text-decoration : none;
}

body {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
   background-image: url(images/bg.png);
   background-repeat: repeat-x;
   background-position: top center;
        line-height: 1;

}

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;
}
 
.white-header {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #555;
   background-color : #fff;
   border-top : 1px solid #ccc;
   border-bottom : 1px solid #e1e1e1;
   padding : 5px;
}

.full-header {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #aaa;
   background-color : #006699;
   padding : 5px;
}

.header1 {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #aaa;
    background-image: url(images/header/1.gif);
   padding : 0px;
   height: 137px;
}

.header2 {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #aaa;
    background-image: url(images/header/2.gif);
   padding : 0px;
   height: 137px;
}

.header3 {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #aaa;
    background-image: url(images/header/3.gif);
   padding : 0px;
   height: 137px;
}

.header4 {
    background-image: url(images/header/4.gif);
   padding : 0px;
   height: 46px;
}

.header5 {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #aaa;
    background-image: url(images/header/5.gif);
   padding : 0px;
   height: 117px;
}

.header5logged {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #aaa;
    background-image: url(images/header/5logged.gif);
   padding : 0px;
   height: 117px;
}

.header6 {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #aaa;
    background-image: url(images/header/6.gif);
   padding : 0px;
   height: 117px;
}





.button {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #555;
   background-color : #f1f1f1;
   height : 16px;
   border : 1px solid #ccc;
    background-image: url(images/button.gif);
   background-repeat: repeat-x;
   margin-top : 2px;
}

.textbox2 {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #fff;
   border : 0px solid #ccc;
    background-image: url(images/textbox2.gif);
   background-repeat: repeat-x;
   margin-top: 2px;
}

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

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

.news-body {
   font-size : 10px;
   color : #555;
   background-color : #1a9abd;
   padding : 4px;
}

.side-body {
   font-size : 10px;
   color : #555;
   background-image: url(images/openside4.png);
        background-color : #0088b2;
   padding : 4px;
}

.side-body4 {
   font-size : 10px;
   color : #cccccc;
   background-color : #006de0;
    background-image: url(images/air.png);
   background-repeat: no-repeat;
   background-position: top center;
   padding : 4px;
}

.side-body2 {
   font-size : 10px;
   color : #cccccc;
   background-color : #006de0;
    background-image: url(images/air.png);
   background-repeat: no-repeat;
   background-position: top center;
   padding : 4px;
}

.side-body3 {
   font-size : 10px;
   color : #f1f1f1;
    background-image: url(images/ftopas.png);
   background-repeat: no-repeat;
   background-position: top center;
   padding : 4px;
}

.main-bg {
   color : #555;
   padding : 5px;
}

.outer-border {
   border : 1px solid #ccc;
}

.border {
   border : 1px solid #e1e1e1;
}

.side-border-left {
   padding : 5px;
}

.side-border-right {
   padding : 5px;
}

.news-footer {
   font-size : 10px;
   color : #555;
   background-color : #f1f1f1;
   border-top : 1px solid #e1e1e1;
   padding : 3px 4px 4px 4px;
}

.news-date {
   font-family : Tahoma;
   font-size : 10px;
   color : #ccc;
   padding : 0px 0px 5px 5px;
}

.capmain {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
   font-weight : bold;
   color : #888;
   background-color : #f1f1f1;
   border-bottom : 1px solid #e1e1e1;
   padding : 2px 4px 4px 4px;
}

.news-subject {
   font-family : Arial, Helvetica, sans-serif;
   font-size : 11px;
   font-weight : bold;
   color : #fff;
}

.news-capmain {
   font-family : Arial, Helvetica, sans-serif;
   font-size : 11px;
   font-weight : bold;
   color : #fff;
    background-image: url(images/news-capmain.gif);
   height:47px;
   padding : 0px 0px 0px 0px;
}

.scapmain {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   font-weight : bold;
   color : #005dda;
   text-align: center;
    background-image: url(images/scapmain.png);
   height:49px;
   padding : 4px;
}

.scapmain2 {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   font-weight : bold;
   text-align: center;
   color : #f1f1f1;
    background-image: url(images/openside2.png);
   height:49px;
   padding : 4px;
}

.scapmain4 {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   font-weight : bold;
   text-align: center;
   color : #f1f1f1;
    background-image: url(images/openside4.png);
   height:49px;
   padding : 4px;
}

.scapmain3 {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   font-weight : bold;
   text-align: center;
   color : #f1f1f1;
    background-image: url(images/openside3.png);
   height:49px;
   padding : 4px;
}




.closeside2 {
    background-image: url(images/air.png);
   height:13px;
}

.closeside4 {
    background-image: url(images/air.png);
   height:13px;
}

.closeside3 {
    background-image: url(images/air.png);
   height:13px;
}

.top-left {
   background-image: url(images/center-panel/top-left.gif);
   height: 36px;
   width: 135px;
}

.top-right {
   background-image: url(images/center-panel/top-right.gif);
   height: 36px;
   width: 147px;
}

.top-center {
   font-family : Tahoma;
   font-size : 10px;
   font-weight : bold;
   color : #f1f1f1;
   text-align: center;
   background-image: url(images/center-panel/top-center.gif);
   height: 36px;
   padding : 0px 0px 8px 0px;
   background-repeat: repeat-x;
}

.bottom-left {
   background-image: url(images/center-panel/bottom-left.gif);
   height: 13px;
   width: 13px;
}

.bottom-right {
   background-image: url(images/center-panel/bottom-right.gif);
   height: 13px;
   width: 13px;
}

.bottom-center {
   background-image: url(images/center-panel/bottom-center.gif);
   height: 13px;
   background-repeat: repeat-x;
}

.news-capmain-left {
   background-image: url(images/news-capmain-left.gif);
   height: 35px;
   width: 15px;
   
}

.tbl-border {
   color : #555;
}

.tbl {
   font-size : 11px;
   color : #555;
   background-color : #b6b6b6;
   padding : 4px;
}

.tbl1 {
   font-size : 11px;
   color : #555555;
   background-color : #b9b9b9;
   padding : 4px;
}

.tbl2 {
   font-size : 11px;
   color : #444444;
   background-color : #b6b6b6;
   padding : 4px;
}

.forum-caption {
   font-size : 11px;
   font-weight : bold;
   color : #ccc;
   background-color : #026fc8;
   padding : 2px 4px 4px 4px;
}

.quote {
   font-size : 11px;
   color : #ccc;
   background-color : #666666;
   padding : 4px;
   margin : 0px 20px 0px 20px;
   border : 1px solid #aaa;
}

.poll {
   height : 12px;
   border : 1px solid #000;
}

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

.shoutboxname {
   font-weight : bold;
   color : #005599;
}

.shoutbox {
   color : #777;
}

.shoutboxdate {
   font-size : 10px;
   color : #888;
}

.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;
   padding : 2px 2px 3px 2px;
}



Redagavo Ultriukas· 2009 Lap. 25 17:11:26

Parašė blist· 2009 Lap. 25 17:11:10
#4

gali būt bėda ir ne styles.css

Parašė Ultriukas· 2009 Lap. 25 17:11:03
#5

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

// theme settings
$body_text = "#555555";
$body_bg = "#ffffff";
$theme_width = "952";
$theme_width_l = "272";
$theme_width_r = "200";

function render_header($header_content) {

global $theme_width,$userdata,$data,$db_prefix,$lookup,$msg_count,$aidlink,$locale,$settings;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' style='margin-top:-8px;'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>

<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='281' class='header1'></td>
<td width='258' class='header2'>";

   $result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,12");
   if (dbrows($result) != 0) {
      echo "<table width='100%' cellspacing='0' cellpadding='0'  align='left'>";
      while ($data = dbarray($result)) {
            $itemsubject = trimlink($data['download_title'], 30);
         echo "<tr><td class='small' align='left' style='padding-left: 10px;'>
               <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='downloads'><b>$itemsubject</b></a>
            </td>
         </tr>";
      }
      echo "</table>";

   }

echo" </td>
<td width='416' class='header3'>";

   $result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,12");
if (dbrows($result) != 0) {
   echo "<table width='100%' cellpadding='0' cellspacing='0' align='left'>";
   while($data = dbarray($result)) {
      $itemsubject = trimlink($data['download_title'], 30);
      echo "<tr><td class='small'  style='padding-left: 20px;'>
      <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='downloads'><b>$itemsubject</b></a>
      </td>
      </tr>\n";
   }
   echo "</table>";
}


echo" </td>
</tr>
</table>

<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='header4'>
<td><a href='".BASEDIR."news.php'><img src='".THEME."images/links/1.gif' border='0'></a></td>
<td><a href='".BASEDIR."news.php'><img src='".THEME."images/links/11.gif' border='0'></a></td>
<td><a href='".BASEDIR."news.php'><img src='".THEME."images/links/2.gif' border='0'></a></td>
<td><a href='".BASEDIR."news.php'><img src='".THEME."images/links/11.gif' border='0'></a></td>
<td><a href='".BASEDIR."forum/index.php'><img src='".THEME."images/links/3.gif' border='0'></a></td>
<td><a href='".BASEDIR."downloads.php'><img src='".THEME."images/links/4.gif' border='0'></a></td>
<td><a href='".BASEDIR."pamokos.php'><img src='".THEME."images/links/5.gif' border='0'></a></td>
<td><a href='".BASEDIR."vip.php'><img src='".THEME."images/links/6.gif' border='0'></a></td>
<td><a href='".BASEDIR."serveriai.php'><img src='".THEME."images/links/7.gif' border='0'></a></td>



</td>
</tr>
</table>

<table cellpadding='0' cellspacing='0' width='100%'>
<tr>";
if (iMEMBER) {
echo" <td width='218' class='header5logged'>";
}else{
echo"<td width='218' class='header5'>";
}
echo "</td>




<td width='736' class='header6'>";
include_once "reklama.php";
echo" </td>
</tr>
</table>

</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%' class='footer'>
<tr>

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

}

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

echo "<table cellpadding='0' cellspacing='0' width='100%' class='news-capmain'>
<tr>

<td>
<table cellpadding='0' cellspacing='0' width='100%'><tr>

</tr>
<tr>

</td>
</tr>
</table>
</td>
<td>
<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td align='right' class='news-subject'><a href='news.php?readmore=".$info['news_id']."'></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='news-body'>$news</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<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,"<br>").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='top-left'><img src='".THEME."images/blank.gif' width='135' height='36' alt='' style='display:block'></td>
<td class='top-center' width='100%'>$title</td>
<td class='top-right'><img src='".THEME."images/blank.gif' width='147' height='36' alt='' style='display:block'></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='bottom-left'><img src='".THEME."images/blank.gif' width='13' height='13' alt='' style='display:block'></td>
<td class='bottom-center' width='100%'><img src='".THEME."images/blank.gif' width='1' height='13' alt='' style='display:block'></td>
<td class='bottom-right'><img src='".THEME."images/blank.gif' width='13' height='13' alt='' style='display:block'></td>
</tr>
</table>";

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
<tr>
<td class='closeside'></td>
</tr>
</table>\n";
tablebreak();

}

function openside2($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='scapmain2'>$title</td>
</tr>
<tr>
<td class='side-body2'>\n";

}

function closeside2() {

echo "</td>
</tr>
<tr>
<td class='closeside2'></td>
</tr>
</table>\n";
tablebreak();

}

function openside3($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='scapmain3'>$title</td>
</tr>
<tr>
<td class='side-body3'>\n";

}

function closeside3() {

echo "</td>
</tr>
<tr>
<td class='closeside3'></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";

}
?>



Parašė ŪNIX· 2009 Lap. 25 18:11:40
#6

Ieskok tos paneles redagavimo didi.

Parašė zDon· 2009 Lap. 25 19:11:03
#7

Aš pvz nelabai supratau kuri panelė prie kur čia prigludus turi būt :D Gal didesnį ir aiškesnį screen įmesk ?