Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Iškilo bėda ;D

Parašė adulis· 2008 Rugp. 30 18:08:23
#1

Parsisiunčiau tema pasiredagavau pagal save bet niekaip nepadarau kad jai nebuna ant images uždėta border pati tema uždėtų
Piešinukas:

Style.css:
a {
   color : #aeaeae;
   text-decoration : none;
}

.forumline  {
   
   background-color: #F8F8F8;
}

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

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

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

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

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

body {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   margin-top: 0px;
   margin-left: 0px;
   font-size : 11px;
    scrollbar-face-color:#0c0c0c;
   scrollbar-highlight-color:#0c0c0c;
   scrollbar-3dlight-color:#0c0c0c;
   scrollbar-shadow-color:#CCC;
   scrollbar-arrow-color:#CCC;
   scrollbar-track-color:#0c0c0c;
   }

form {
   margin : 0px;
}

hr {
   height : 1px;
   border : 1px solid #0c0c0c;
}

hr.side-hr {
   height : 1px;
   border : 1px solid #0c0c0c;
}

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

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

.alt {
   color : #aeaeae;
}
 
.outer-border {
   border : none;
}

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

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

.footer {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #555;
   height: 50px;
   background-repeat: no-repeat;
   background-image: url(images/footer.png);
   padding : 5px;
}

.button {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #aeaeae;
   background-color : #663300;
   height : 20px;
   margin-top : 2px;
}

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

.main-body {
   font-size : 11px;
   color : #aeaeae;
   background-image: url(images/main-side-body.jpg);
   background-color : #fff;
   padding : 4px 0px 5px 0px;
}

.side-body {
   font-size : 10px;
   color : #aeaeae;
   background-image: url(images/main-side-body.jpg);
   background-color : #f6f6f6;
   padding : 4px;
}

.main-bg {
   color : #aeaeae;
   background-color : #fff;
   background-image: url(images/main-side-body.jpg);
   padding : 10px 5px 10px 5px;
}

.side-border-left {
   color : #777;
   background-image: url(images/main-side-body.jpg);
   background-color : #fff;
   padding : 8px 20px 0px 20px;
}

.side-border-right {
   color : #777;
   background-image: url(images/main-side-body.jpg);
   background-color : #fff;
   padding : 10px 10px 10px 5px;
}

.news-footer {
   font-size : 10px;
   color : #aeaeae;
   background-color : #0c0c0c;
   padding : 3px 4px 4px 4px;
}
.forum-caption {
   font-size:10px;
   font-weight:bold;
   color:#000000;
   background-color:#F6F8FA;
   height:24px;
   padding:0px 4px 2px 4px;
   
}

.capmain {
   font-family : Trebuchet MS, Arial, Helvetica, sans-serif;
   font-size : 15px;
   font-weight : bold;
   color : #c1d82e;
    border-bottom: 1px dashed #663300;
   background-color : #0c0c0c;
   padding : 2px 0px 4px 0px;
}

.scapmain {
   font-family : Trebuchet MS, Arial, Helvetica, sans-serif;
   font-size : 15px;
   font-weight : bold;
   color : #c1d82e;
    border-bottom: 1px dashed #663300;
   background-color : #0c0c0c;
   padding : 4px;
}

.tbl-border {
   color : #aeaeae;
   background-color : #0c0c0c;
}

.tbl {
   font-size : 11px;
   color : #aeaeae;
   background-image: url(images/main-side-body.jpg);
   background-color : #0c0c0c;
   padding : 4px;
}

.tbl1 {
   font-size : 11px;
   color : #aeaeae;
   background-color : #0c0c0c;
   padding : 4px;
}

.tbl2 {
   font-size : 11px;
   color : #aeaeae;
   background-color : #0c0c0c;
   padding : 4px;
}

.forum-caption {
   font-size : 11px;
   font-weight : bold;
   color : #aeaeae;
   background-color : #0c0c0c;
   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 #aeaeae;
}

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

.shoutboxname {
   font-weight : bold;
   color : #aeaeae;
   background-color : #0c0c0c;
}

.shoutbox {
   color : #aeaeae;
   background-color : #0c0c0c;
}

.shoutboxdate {
   font-size : 10px;
   color : #aeaeae;
   background-color : #0c0c0c;
}

.small {
   font-size : 10px;
   font-weight : normal;
}

.small2 {
   font-size : 10px;
   font-weight : normal;
   color : #aeaeae;
}

.side-small {
   font-size : 10px;
   font-weight : normal;
   color : #aeaeae;
   background-color : #f6f6f6;
}

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


body {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
background-image: url(images/bg.gif);
   background-position: top center;
   background-repeat: repeat;
   padding:0px 0px 0px 0px;
   margin:10px;
}



/* General page style */
a {
   color:#34558a;
   text-decoration:none;
   font-size:10px;
}

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

a.side {
   color:#34558a;
   text-decoration:none;
   font-size:10px;
}

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

a.white {
   color:34558a;
   text-decoration:none;
   font-size:11px;
}

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

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

hr {
   border-top:1px #E2E2E2 solid;
   border-bottom:1px #F9F9F9 solid;
}

.tbl-border {
background-color: #FFFFFF;
border: 3px solid #000000;
border-left-width: 1px;
border-right-width: 1px;
margin-top: 4px;
margin-bottom: 4px;
}
.tbl { padding: 3px 4px 3px 4px; }
.tbl1 { background-color: #000000; padding: 4px; border: 1px solid #E0E7E8; }
.tbl2 { background-color: #000000; border: 1px solid #E0E7E8; padding: 4px; }




Ir kita bėda kaip panaikint ta baltą foną? :D

User_info_panel.php:
<?php
////////////////////////////////////
//php-fusion.co.uk - digimonas/////
//////////////////////////////////
//Mooded By SilverSlash, `Lucky, Gynejas//
////////////////////////////////
//By nepster :)////////////////
//////////////////////////////

if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
if (iMEMBER) {
   openside($userdata['user_name']);
   $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");

if ($msg_count) echo "<br><center><b><a href='".BASEDIR."messages.php' class='side'>".sprintf($locale['085'], $msg_count).($msg_count == 1 ? $locale['086'] : $locale['087'])."</a></b></center>\n<hr>";

if ($userdata['user_avatar'] != "") {
echo "<center><img border='0' alt='".$locale['on106']."' title='".$locale['on106']."' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'></center>\n";
} else {
}
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<br><center><A href=\"javascript:show_hide(show_hide1)\">

<img src='".THEME."images/bullet.gif' border=0> <font color=red><b>Administravimas</b></font></a></center>
<div id='show_hide1'></a>
<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."index.php".$aidlink."'>Administracijos panel&#235;</a><br>
<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."news.php".$aidlink."'>Ra&#240;yti naujien&#224;</a><br>
<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."articles.php".$aidlink."'>Ra&#240;yti straipsn&#225;</a><br>
<img src='".THEME."images/bullet.gif'> <a href='".ADMIN."submissions.php".$aidlink."'>Pateikimai</a><br>
<script>show_hide(show_hide1)</script></a></div>";
}
/////////////////////
//Script by Nepster//
////////////////////
echo "</a><script>
var linktext=new Array()
linktext[0]=\"kasnors\"
linktext[1]=\"kasnors2\"
linktext[2]=\"Profilio redagavimas\"
linktext[3]=\"Priva&#232;ios &#254;inut&#235;s\"
linktext[4]=\"Nariø s&#224;ra&#240;as\"
linktext[5]=\"Atsijungti\"
var ns6=document.getElementById&&!document.all
var ie=document.all
function show_text(thetext, whichdiv){
if (ie) eval(\"document.all.\"+whichdiv).innerHTML=linktext[thetext]
else if (ns6) document.getElementById(whichdiv).innerHTML=linktext[thetext]
}
function resetit(whichdiv){
if (ie) eval(\"document.all.\"+whichdiv).innerHTML=' '
else if (ns6) document.getElementById(whichdiv).innerHTML=' '
}
</script>";
echo "<br><a href='".BASEDIR."edit_profile.php' class='side' alt='Profilis' title='Profilis'><img src='".IMAGES."profile.png' alt='' onMouseover=\"show_text(2,'div2')\" onMouseout=\"resetit('div2')\"></a>
<a href='".BASEDIR."messages.php' class='side' alt='Privacios zinutes' title='Privacios zinutes'><img src='".IMAGES."private.png' alt='' onMouseover=\"show_text(3,'div2')\" onMouseout=\"resetit('div2')\"></a>
<a href='".BASEDIR."members.php' class='side' alt='Nariai' title='Nariai'><img src='".IMAGES."users.png' alt='' onMouseover=\"show_text(4,'div2')\" onMouseout=\"resetit('div2')\"></a>
<a href='".BASEDIR."setuser.php?logout=yes' class='side' alt='Atsijungti' title='Atsijungti'><img src='".IMAGES."exit.png' alt='' onMouseover=\"show_text(5,'div2')\" onMouseout=\"resetit('div2')\"></a><br>";
echo "<i><span id=\"div2\"> </span></i>";
echo "<br><hr>";
///////////////////////////
include_once INCLUDES."exp_include.php";
showexp($userdata['user_id'],$userdata['user_posts'], "1");
   
} else {
   openside($locale['060']);
   echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
".$locale['061']."<br>
<input type='text' name='user_name' class='textbox' style='width:100px'><br>
".$locale['062']."<br>
<input type='password' name='user_pass' class='textbox' style='width:100px'><br>
<input type='checkbox' name='remember_me' value='y' title='".$locale['063']."' style='vertical-align:middle;'>
<input type='submit' name='login' value='".$locale['064']."' class='button'><br>
</form>
<br>\n";
   if ($settings['enable_registration']) {
      echo "".$locale['065']."<br><br>\n";
   }
   echo $locale['066']."
</div>\n";
}
echo "<style type=\"text/css\">
#dhtmltooltip{
position: absolute;
width: 150px;
border: 2px solid black;
padding: 2px;
background-color: lightyellow;
visibility: hidden;
z-index: 100;
filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
}
</style>";
echo "<div id=\"dhtmltooltip\"></div><script type=\"text/javascript\">
var offsetxpoint=-60
var offsetypoint=20
var ie=document.all
var ns6=document.getElementById && !document.all
var enaašip=false
if (ie||ns6)
var tipobj=document.all? document.all[\"dhtmltooltip\"] : document.getElementById? document.getElementById(\"dhtmltooltip\") : \"\"
function ietruebody(){
return (document.compatMode && document.compatMode!=\"BackCompat\")? document.documentElement : document.body
}
function ddrivetip(thetext, thecolor, thewidth){
if (ns6||ie){
if (typeof thewidth!=\"undefined\") tipobj.style.width=thewidth+\"px\"
if (typeof thecolor!=\"undefined\" && thecolor!=\"\") tipobj.style.backgroundColor=thecolor
tipobj.innerHTML=thetext
enaašip=true
return false
   }
}
function positiontip(e){
if (enaašip){
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20
var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
if (rightedge<tipobj.offsetWidth)
tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+\"px\" : window.pageXOffset+e.clientX-tipobj.offsetWidth+\"px\"
else if (curX<leftedge)
tipobj.style.left=\"5px\"
else
tipobj.style.left=curX+offsetxpoint+\"px\"
if (bottomedge<tipobj.offsetHeight)
tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+\"px\" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+\"px\"
else
tipobj.style.top=curY+offsetypoint+\"px\"
tipobj.style.visibility=\"visible\"
   }
}
function hideddrivetip(){
if (ns6||ie){
enaašip=false
tipobj.style.visibility=\"hidden\"
tipobj.style.left=\"-1000px\"
tipobj.style.backgroundColor='000000'
tipobj.style.width=''
   }
}
document.onmousemove=positiontip
</script>";
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }

if (file_exists(INFUSIONS."user_info_panel/locale/".$settings['locale'].".php")) {
   include INFUSIONS."user_info_panel/locale/".$settings['locale'].".php";
} else {
   include INFUSIONS."user_info_panel/locale/English.php";
}
($locale['lsup000']);
$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,7");
echo "<table cellpadding='0' cellspacing='0' width='100%'>";
if (dbrows($result) != 0) {
   while ($data = dbarray($result)) {
      $lastseen = time() - $data['user_lastvisit'];
      $iW=sprintf("%2d",floor($lastseen/604800));
      $iD=sprintf("%2d",floor($lastseen/(60*60*24)));
      $iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
      $iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
      $iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
      if ($lastseen < 60){
         $lastseen= $locale['lsup001'];
      } elseif ($lastseen < 360){
         $lastseen= $locale['lsup002'];
      } elseif ($iW > 0){
         if ($iW == 1) { $text = $locale['lsup003']; } else { $text = $locale['lsup004']; }
         $lastseen = $iW." ".$text;
      } elseif ($iD > 0){
         if ($iD == 1) { $text = $locale['lsup005']; } else { $text = $locale['lsup006']; }
         $lastseen = $iD." ".$text;
      } else {
         $lastseen = $iH.":".$iM.":".$iS;
      }
      echo "<tr>\n<td class='side-small' align='left'>°\n";
      echo "<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='".$data['user_name']."' class='side'>\n";
      echo trimlink($data['user_name'], 15)."</a></td><td class='side-small' align='right'>".$lastseen."</td>\n</tr>\n";
   }
}

echo "
<br>
<b><img src='".BASEDIR."/infusions/user_info_panel/images/4.gif'>Statistika:</b><br>";
   $data = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_status='0' ORDER BY user_joined DESC LIMIT 0,1"));
   $tag1= date('d');
$tag1= date('d');
$monat1= date('m');
$jahr1= date('Y');
$hanfang = mktime(0,0,0,$monat1,$tag1,$jahr1);
$hende = mktime(23,59,59,$monat1,$tag1,$jahr1);
$ganfang = mktime(0,0,0,$monat1,$tag1-1,$jahr1);
$gende = mktime(23,59,59,$monat1,$tag1-1,$jahr1);
echo "° Naujø nariø vakar: ".dbcount("(user_id)", "users", "user_joined >='".$ganfang."' AND user_joined <='".$gende."'")."<br>";
echo "° Naujø nariø &#240;iandien: ".dbcount("(user_id)", "users", "user_joined >='".$hanfang."' AND user_joined <='".$hende."'")."<br>";
echo "° Viso nariø: ".$locale['on100'].number_format(dbcount("(user_id)", "users", "user_status<='1'"))."<br />\n";
echo "<center><b>Nariu Istorija</b></center>";
echo "</table>";
closeside();
?>




Parašė MAnjack· 2008 Rugp. 30 18:08:28
#2

Susirask img linką ir padaryk border=0

Parašė adulis· 2008 Rugp. 30 18:08:22
#3

Taip ir norėjau daryt bet būna temose padaryta kad nereikia rašyt nu tiek to o del antros bėdos gal galit padet ? :)

Parašė Žmogus· 2008 Rugp. 30 18:08:46
#4

Dėl pirmos bėdos tai į styles kišk
img {
border: 0px;
}

Parašė adulis· 2008 Rugp. 30 18:08:12
#5

Ačiū :P. Dėl antros kas padėsit ? :)

Parašė Toonis· 2008 Rugp. 30 19:08:09
#6

Bliad nakui jums sunku su photoshopo pipete pasiimt spalvos kodą, atsidaryt styles.css per notepad, spaust ctrl+f įpastint kodą ir susrast, bei pakeist jį 000?

Redagavo Toonis· 2008 Rugp. 30 19:08:24

Parašė Žmogus· 2008 Rugp. 30 19:08:24
#7

     echo "<tr>\n<td align='left'>°\n";
      echo "<a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='".$data['user_name']."' class='side'>\n";
      echo trimlink($data['user_name'], 15)."</a></td><td class='side-small' align='right'>".$lastseen."</td>\n</tr>\n";
   }



Redagavo Žmogus· 2008 Rugp. 30 19:08:33

Parašė adulis· 2008 Rugp. 30 19:08:03
#8

Tooni galvoji nebandžiau... Nyhuje nieko nerado panašaus...
Ačiū ShadoVw.