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

Parašė samsung123· 2009 Vas. 26 15:02:32
#1

Sveiki,

blem kas yra krč themoj su padding kanors pastatau ir tempe img nu kad ir padarai padding-left:10px; vistiek tempe ką daryt nes užpysą kai prie pat krašto tekstas stovi.

Parašė kugeliux· 2009 Vas. 26 15:02:13
#2

Nu tai rodyk koda

Parašė samsung123· 2009 Vas. 26 15:02:03
#3

ne kodas kaltas .. jau man čia ant kiekvienos themes.

.forumas {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
        padding-left:5px;
        color:#fff;
        padding-rigth: 20;
}



Redagavo samsung123· 2009 Vas. 26 15:02:28

Parašė ---· 2009 Vas. 26 15:02:54
#4

Screena numesk, nes xuj parisi ko tu ten nori. Beto ne
padding-rigth: 20; o padding-right: 20px;

Parašė samsung123· 2009 Vas. 26 16:02:51
#5



Gotnix, ten iš skubėjimo.

Parašė ---· 2009 Vas. 26 16:02:11
#6

Tai bandei theme.php det paddinga?

Parašė sniuff· 2009 Vas. 26 16:02:12
#7

duok temos kodą.

Parašė Enzo· 2009 Vas. 26 16:02:15
#8

šitą gali sutvarkyt ir   parašęs, tik kad jo daug reikės :D

Parašė samsung123· 2009 Vas. 26 16:02:01
#9

<?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 = "750";
$theme_width_l = "200";
$theme_width_r = "200";

function render_header($header_content) {

global $theme_width,$db_prefix,$locale;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' >
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<form name='search' action='search.php?stype=n' method='post'>
<tr>
<td background='".THEME."images/psp_01.png' height='79'  width='193'></td>
<td background='".THEME."images/psp_02.png' height='79'  width='337'></td>
<td  align='left' background='".THEME."images/psp_03.png' height='79'  width='220' ><input class='textbox' type='text' name='stext' value='paieškos tekstas..' onfocus=\"if(this.value=='paieškos tekstas..'){this.value='';}\" onblur=\"if(this.value==''){this.value='paieškos tekstas..';}\" class='textbox-s'>  <input type='submit' name='option' value='ieškoti' class='button'></td>
</tr>
</form>
</table>
<table cellpadding='0' cellspacing='0' >
<tr>
<td background='".THEME."images/psp_04.png' height='11' width='750'></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' >
<tr>
<td class='forumas'  background='".THEME."images/psp_05.png' height='206' width='241'>";
$result = dbquery(
   "SELECT tf.*, tt.*, tu.user_id, user_name, MAX(tp.post_id) as last_id,
   COUNT(tp.post_id) as count_posts FROM ".$db_prefix."forums tf
   INNER JOIN ".$db_prefix."threads tt USING(forum_id)
   INNER JOIN ".$db_prefix."posts tp USING(thread_id)
   INNER JOIN ".$db_prefix."users tu ON tt.thread_lastuser=tu.user_id
   WHERE ".groupaccess('forum_access')." GROUP BY thread_id
   ORDER BY thread_lastpost DESC LIMIT 0,10");
if (dbrows($result) != 0) {
   $i = 1;

   while ($data = dbarray($result)) {
      $thread_author = dbarray(dbquery("SELECT user_name FROM ".$db_prefix."users WHERE user_id='".$data['thread_author']."'"));
      $data2 = dbarray(dbquery("SELECT * FROM ".$db_prefix."posts WHERE thread_id='".$data['thread_id']."' ORDER BY post_id DESC LIMIT 1"));
      $post_message = $data2['post_smileys'] == 1 ? parsesmileys($data2['post_message']) : $data2['post_message'];
      $post_message = phpentities(nl2br(parseubb($post_message)));
         

      echo "$i. <a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&amp;thread_id=".$data['thread_id']."&amp;pid=".$data['last_id']."#post_".$data['last_id']."' class='white'>".trimlink($data['thread_subject'], 10)."</a> - <a class='white' href='".BASEDIR."~".$data['thread_lastuser']."'>".trimlink($data['user_name'], 8)."</a><br>";
      $i ++;}}   
echo"</td>
<td background='".THEME."images/psp_06.png' height='206' width='11'></td>
<td background='".THEME."images/psp_07.png' height='206' width='257'>";
echo"</td>
<td background='".THEME."images/psp_08.png' height='206' width='10'></td>
<td background='".THEME."images/psp_09.png' height='206' width='231'>";
echo"</td>
</tr>
</table>
</td>
</tr>
</table>\n";


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

}




Gotnix, bandžiau, sniuff šia Enzo - ačiū, ne.

Redagavo ---· 2009 Vas. 26 16:02:51

Parašė ---· 2009 Vas. 26 16:02:13
#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 = "#006600";
$theme_width = "750";
$theme_width_l = "200";
$theme_width_r = "200";

function render_header($header_content) {

global $theme_width,$db_prefix,$locale;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' >
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<form name='search' action='search.php?stype=n' method='post'>
<tr>
<td background='".THEME."images/psp_01.png' height='79'  width='193'></td>
<td background='".THEME."images/psp_02.png' height='79'  width='337'></td>
<td  align='left' background='".THEME."images/psp_03.png' height='79'  width='220' ><input class='textbox' type='text' name='stext' value='paieškos tekstas..' onfocus=\"if(this.value=='paieškos tekstas..'){this.value='';}\" onblur=\"if(this.value==''){this.value='paieškos tekstas..';}\" class='textbox-s'>  <input type='submit' name='option' value='ieškoti' class='button'></td>
</tr>
</form>
</table>
<table cellpadding='0' cellspacing='0' >
<tr>
<td background='".THEME."images/psp_04.png' height='11' width='750'></td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' >
<tr>
<td class='forumas'  background='".THEME."images/psp_05.png' height='206' width='241' style='padding-left:20px;'>";
$result = dbquery(
   "SELECT tf.*, tt.*, tu.user_id, user_name, MAX(tp.post_id) as last_id,
   COUNT(tp.post_id) as count_posts FROM ".$db_prefix."forums tf
   INNER JOIN ".$db_prefix."threads tt USING(forum_id)
   INNER JOIN ".$db_prefix."posts tp USING(thread_id)
   INNER JOIN ".$db_prefix."users tu ON tt.thread_lastuser=tu.user_id
   WHERE ".groupaccess('forum_access')." GROUP BY thread_id
   ORDER BY thread_lastpost DESC LIMIT 0,10");
if (dbrows($result) != 0) {
   $i = 1;

   while ($data = dbarray($result)) {
      $thread_author = dbarray(dbquery("SELECT user_name FROM ".$db_prefix."users WHERE user_id='".$data['thread_author']."'"));
      $data2 = dbarray(dbquery("SELECT * FROM ".$db_prefix."posts WHERE thread_id='".$data['thread_id']."' ORDER BY post_id DESC LIMIT 1"));
      $post_message = $data2['post_smileys'] == 1 ? parsesmileys($data2['post_message']) : $data2['post_message'];
      $post_message = phpentities(nl2br(parseubb($post_message)));
         

      echo "$i. <a href='".FORUM."viewthread.php?forum_id=".$data['forum_id']."&amp;thread_id=".$data['thread_id']."&amp;pid=".$data['last_id']."#post_".$data['last_id']."' class='white'>".trimlink($data['thread_subject'], 10)."</a> - <a class='white' href='".BASEDIR."~".$data['thread_lastuser']."'>".trimlink($data['user_name'], 8)."</a><br>";
      $i ++;}}   
echo"</td>
<td background='".THEME."images/psp_06.png' height='206' width='11'></td>
<td background='".THEME."images/psp_07.png' height='206' width='257'>";
echo"</td>
<td background='".THEME."images/psp_08.png' height='206' width='10'></td>
<td background='".THEME."images/psp_09.png' height='206' width='231'>";
echo"</td>
</tr>
</table>
</td>
</tr>
</table>\n";


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

}




Bandyk

Parašė sniuff· 2009 Vas. 26 16:02:53
#11

<td class='forumas'  background='".THEME."images/psp_05.png' height='206' width='241'>";



keisk į
<td class='forumas'  background='".THEME."images/psp_05.png' height='206' width='241' style='margin-left:25px;'>";




Parašė samsung123· 2009 Vas. 26 17:02:15
#12

Nepaded.