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

Parašė Spyware· 2008 Gru. 6 19:12:06
#1

Sveiki,
1) naudoju hostingas.in hostingą, ir ten dabar man neina prisijungti prie ftp , išmta errorų, nors seniau viskas ėjo. gal ir jums tas pats ? rašo:
Resolving address of ftp1.hostigas.in
Būsena:   Connection attempt failed with "EAI_NONAME - Neither nodename nor servname provided, or not known".
Klaida:   Negaliu prisijungti prie serverio
Būsena:   Waiting to retry...
Būsena:   Resolving address of ftp1.hostigas.in
Būsena:   Connection attempt failed with "EAI_NONAME - Neither nodename nor servname provided, or not known".
Klaida:   Negaliu prisijungti prie serverio



Parašė Lukšius· 2008 Gru. 6 19:12:18
#2

ftp1.hostigas.in čia gal dėl šitos klaidos negali prisijungti?

Parašė Spyware· 2008 Gru. 6 19:12:43
#3

tas ir yra aš šitą gerai rašiau, tūrėtų būtu bent vienas kad parašyta typo dėl host prisjungimas geras, o ten vieni errorai.

Parašė Lukšius· 2008 Gru. 6 19:12:59
#4

Mano manymu turi būti: ftp.hostingas.in, o ne ftp1.hostigas.in
Pabandyk TotalCommander FTP programą, nes man per FileZilla irgi neprijungia prie FTP, o per TC viskas gerai.

Parašė Spyware· 2008 Gru. 6 19:12:04
#5

eina sau :D seniau rašiau ftp1.hostingas.in ir neprijungė, o dabar ftp.hostingas.in ir viskas veikia, ačiū ;D
2) įnstaliuoju +rep modą, phpbb2 ir ten rašo AFTER, ADD ]-- typo po šituo dadėkite ir man dėti toj pačioj eilutėj ar padėti enter ir tik tada dėti ?

Redagavo Spyware· 2008 Gru. 6 19:12:06

Parašė Spyware· 2008 Gru. 8 21:12:02
#6

Kaip užsakyti domeną ? pimrą kartą registuorju ant xz.lt, nors hostingas hostingas.in

Parašė Spyware· 2009 Sau. 2 19:01:46
#7

Kai bandau efitint postą rašo :

Parse error: syntax error, unexpected '<' in /home/arnelis/domains/*****.lt/public_html/forum/postedit.php on line 44[/code]

postedit.php :

<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) header("Location:../index.php");

if (isset($_POST['previewchanges'])) {
   $disable_smileys_check = isset($_POST['disable_smileys']) ? " checked" : "";
   $del_check = isset($_POST['delete']) ? " checked" : "";
   $del_attach_check = isset($_POST['delete_attach']) ? " checked" : "";
   opentable($locale['405']);
   $subject = trim(stripinput(censorwords($_POST['subject'])));
   $message = trim(stripinput(censorwords($_POST['message'])));
   if ($subject == "") $subject = $pdata['post_subject'];
   if ($message == "") {
      $previewmessage = $locale['421'];
   } else {
      $previewmessage = $message;
      if (!$disable_smileys_check) { $previewmessage = parsesmileys($previewmessage); }
      $previewmessage = parseubb($previewmessage);
      $previewmessage = nl2br($previewmessage);
   }
   $udata = dbarray(dbquery("SELECT * FROM ".$db_prefix."users WHERE user_id='".$pdata['post_author']."'"));
   $is_mod = (in_array($udata['user_id'], $forum_mods) || UGMODS_groupcheck($udata['user_groups'], $forum_mods)) && $udata['user_level'] < "102" ? true : false;
   echo "<table cellspacing='0' cellpadding='0' border='0' width='100%' class='tbl-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='1' width='100%'>
<tr>
<td width='145' class='tbl2'>".$locale['422']."</td>
<td class='tbl2'>$subject</td>
</tr>
<tr>
<td valign='top' rowspan='2' width='145' class='tbl1'>".$udata['user_name']."<br>
<span class='alt'>".($is_mod ? $locale['userf1'] : getuserlevel($udata['user_level']))."</span><br><br>\n
<span class='alt'>".ShowRank($udata['user_posts'],$udata['user_rank'])."</span><br><br>\n";br>
<span class='alt'>".$locale['423']."</span> ".$udata['user_posts']."<br>
<span class='alt'>".$locale['424']."</span> ".$udata['user_location']."<br>
<span class='alt'>".$locale['425']."</span> ".showdate("%d.%m.%y", $udata['user_joined'])."</td>
<td class='tbl1'><span class='small'>".$locale['426'].showdate("forumdate", $pdata['post_datestamp'])."</span></td>
</tr>
<tr>
<td height='50' valign='top' class='tbl1'>$previewmessage<br>
<br>
<span class='small'>".$locale['427'].$userdata['user_name'].$locale['428'].showdate("forumdate", time())."</span>
</td>
</tr>
</table>
</tr>
</td>
</table>\n";
   closetable();
   tablebreak();
}
if (isset($_POST['savechanges'])) {
   if (isset($_POST['delete'])) {
      $result = dbquery("DELETE FROM ".$db_prefix."posts WHERE post_id='$post_id' AND thread_id='$thread_id'");
      $result = dbquery("SELECT * FROM ".$db_prefix."forum_attachments WHERE post_id='$post_id'");
      if (dbrows($result) != 0) {
         $attach = dbarray($result);
         unlink(FORUM."attachments/".$attach['attach_name']."[".$attach['attach_id']."]".$attach['attach_ext']);
         $result2 = dbquery("DELETE FROM ".$db_prefix."forum_attachments WHERE post_id='$post_id'");
      }
      $posts = dbcount("(post_id)", "posts", "thread_id='$thread_id'");
      if ($posts == 0) $result = dbquery("DELETE FROM ".$db_prefix."threads WHERE thread_id='$thread_id' AND forum_id='$forum_id'");
      // update forum_lastpost and forum_lastuser if post_datestamp matches
      $result = dbquery("SELECT * FROM ".$db_prefix."forums WHERE forum_id='$forum_id' AND forum_lastuser='".$pdata['post_author']."' AND forum_lastpost='".$pdata['post_datestamp']."'");
      if (dbrows($result)) {
         $result = dbquery("SELECT forum_id,post_author,post_datestamp FROM ".$db_prefix."posts WHERE forum_id='$forum_id' ORDER BY post_datestamp DESC LIMIT 1");
         if (dbrows($result)) {
            $pdata2 = dbarray($result);
            $result = dbquery("UPDATE ".$db_prefix."forums SET forum_lastpost='".$pdata2['post_datestamp']."', forum_lastuser='".$pdata2['post_author']."' WHERE forum_id='$forum_id'");
         } else {
            $result = dbquery("UPDATE ".$db_prefix."forums SET forum_lastpost='0', forum_lastuser='0' WHERE forum_id='$forum_id'");
         }
      }
      // update thread_lastpost and thread_lastuser if thread post > 0 and post_datestamp matches
      if ($posts > 0) {
         $result = dbquery("SELECT * FROM ".$db_prefix."threads WHERE thread_id='$thread_id' AND thread_lastpost='".$pdata['post_datestamp']."' AND thread_lastuser='".$pdata['post_author']."'");
         if (dbrows($result)) {
            $result = dbquery("SELECT thread_id,post_author,post_datestamp FROM ".$db_prefix."posts WHERE thread_id='$thread_id' ORDER BY post_datestamp DESC LIMIT 1");
            $pdata2 = dbarray($result);
            $result = dbquery("UPDATE ".$db_prefix."threads SET thread_lastpost='".$pdata2['post_datestamp']."', thread_lastuser='".$pdata2['post_author']."' WHERE thread_id='$thread_id'");
         }
      }
      opentable($locale['407']);
      echo "<center><br>\n".$locale['445']."<br><br>\n";
      if ($posts > 0) echo "<a href='viewthread.php?forum_id=$forum_id&thread_id=$thread_id'>".$locale['447']."</a> |\n";
      echo "<a href='viewforum.php?forum_id=$forum_id'>".$locale['448']."</a> |
<a href='index.php'>".$locale['449']."</a><br><br>\n</center>\n";
      closetable();
   } else {
      $error = "0";
      $smileys = isset($_POST['disable_smileys']) ? "0" : "1";
      $subject = trim(stripinput(censorwords($_POST['subject'])));
      $message = trim(stripinput(censorwords($_POST['message'])));
      if (iMEMBER) {
         if ($subject != "" && $message != "") {
            $result = dbquery("UPDATE ".$db_prefix."posts SET post_subject='$subject', post_message='$message', post_smileys='$smileys', post_edituser='".$userdata['user_id']."', post_edittime='".time()."' WHERE post_id='$post_id'");
            $data = dbarray(dbquery("SELECT * FROM ".$db_prefix."posts WHERE thread_id='$thread_id' ORDER BY post_id ASC LIMIT 1"));
            if ($data['post_id'] == $post_id) {
               $result = dbquery("UPDATE ".$db_prefix."threads SET thread_subject='$subject' WHERE thread_id='$thread_id'");
            }
            if (isset($_POST['delete_attach'])) {
               $result = dbquery("SELECT * FROM ".$db_prefix."forum_attachments WHERE post_id='$post_id'");
               if (dbrows($result) != 0) {
                  $adata = dbarray($result);
                  unlink(FORUM."attachments/".$adata['attach_name']."[".$adata['attach_id']."]".$adata['attach_ext']);
                  $result = dbquery("DELETE FROM ".$db_prefix."forum_attachments WHERE post_id='$post_id'");
               }
            }
            $attach = $_FILES['attach'];
            if ($attach['name'] != "" && !empty($attach['name']) && is_uploaded_file($attach['tmp_name']) && $attach['size'] <= $settings['attachmax']) {
               $attachext = strtolower(strrchr($attach['name'],"."));
               $attachtypes = explode(",", $settings['attachtypes']);
               if (in_array($attachext, $attachtypes)) {
                  $attachname=substr%252528%252524attach[%252526%25252339%25253Bname%252526%25252339%25253B]%25252C 0, strrpos($attach['name'], "."));
                  $result = dbquery("INSERT INTO ".$db_prefix."forum_attachments VALUES('', '$thread_id', '$post_id', '$attachname', '$attachext', '".$attach['size']."')");
                  $file_id = mysql_insert_id();
                  $attachname=%252524attachname%25252E%252526quot%25253B[%252526quot%25253B%25252E%252524file_id%25252E%252526quot%25253B]%252526quot%25253B%25252E%252524attachext%25253B
                  move_uploaded_file($attach['tmp_name'], FORUM."attachments/".$attachname);
                  chmod(FORUM."attachments/".$attachname,0644);
               } else {
                  $error = "1";
               }
            }
            $reply_count = dbcount("(thread_id)", "posts", "post_id<='$post_id' AND thread_id='$thread_id'");
            $rstart = ($reply_count > 20 ? ((ceil($reply_count / 20)-1)*20) : "0");
         } else {
            $error = "2";
         }
      } else {
         $error = "3";
      }
      redirect("postify.php?post=edit&error=$error&forum_id=$forum_id&thread_id=$thread_id&rstart=$rstart&post_id=$post_id");
   }
} else {
   if (!isset($_POST['previewchanges'])) {
      $subject = $pdata['post_subject'];
      $message = $pdata['post_message'];
      $disable_smileys_check = ($pdata['post_smileys'] == "0" ? " checked" : "");
      $del_check = "";
   }
   opentable($locale['408']);
   echo "<form name=%252526%25252339%25253Binputform%252526%25252339%25253B method='post' action='".FUSION_SELF."?action=edit&amp;forum_id=$forum_id&amp;thread_id=$thread_id&amp;post_id=$post_id' enctype='multipart/form-data'>
<table cellpadding='0' cellspacing='0' width='100%' class='tbl-border'>
<tr>
<td>
<table width='100%' border='0' cellspacing='1' cellpadding='0'>
<tr>
<td width='145' class='tbl2'>".$locale['460']."</td>
<td class='tbl2'><input type='text' name=%252526%25252339%25253Bsubject%252526%25252339%25253B value='$subject' class='textbox' maxlength='255' style='width:250px'></td>
</tr>
<tr>
<td valign='top' width='145' class='tbl2'>".$locale['461']."</td>
<td class='tbl1'><textarea name=%252526%25252339%25253Bmessage%252526%25252339%25253B cols='80' rows='15' class='textbox'>$message</textarea></td>
</tr>
<tr>
<td width='145' class='tbl2'>&nbsp;</td>
<td class='tbl2'>
<input type='button' value='b' class='button' style='font-weight:bold;width:25px;' onClick=\"addText('message', '', '');\">
<input type='button' value='i' class='button' style='font-style:italic;width:25px;' onClick=\"addText('message', '', '');\">
<input type='button' value='u' class='button' style='text-decoration:underline;width:25px;' onClick=\"addText('message', '', '');\">
<input type='button' value='url' class='button' style='width:30px;' onClick=\"addText('message', '[url]', '[/url]');\">
<input type='button' value='mail' class='button' style='width:35px;' onClick=\"addText('message', '[mail]', '[/mail]');\">
<input type='button' value='img' class='button' style='width:30px;' onClick=\"addText('message', '[img]', '[/img]');\">
<input type='button' value='center' class='button' style='width:45px;' onClick=\"addText('message', '
', '
');\">
<input type='button' value='small' class='button' style='width:40px;' onClick=\"addText('message', '', '');\">
<input type='button' value='code' class='button' style='width:40px;' onClick=\"addText('message', '
', '


');\">
<input type='button' value='quote' class='button' style='width:45px;' onClick=\"addText('message', '
', '
');\">
</td>
</tr>
<td width='145' class='tbl2'>&nbsp;</td>
<td class='tbl1'>
".$locale['462']."<select name=%252526%25252339%25253Bbbcolor%252526%25252339%25253B class='textbox' style='width:90px;' onChange=\"addText('message', '[color=' + this.options[this.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;\">
<option value=''>Default</option>
<option value='maroon' style='color:maroon;'>Maroon</option>
<option value='red' style='color:red;'>Red</option>
<option value='orange' style='color:orange;'>Orange</option>
<option value='brown' style='color:brown;'>Brown</option>
<option value='yellow' style='color:yellow;'>Yellow</option>
<option value='green' style='color:green;'>Green</option>
<option value='lime' style='color:lime;'>Lime</option>
<option value='olive' style='color:olive;'>Olive</option>
<option value='cyan' style='color:cyan;'>Cyan</option>
<option value='blue' style='color:blue;'>Blue</option>
<option value='navy' style='color:navy;'>Navy Blue</option>
<option value='purple' style='color:purple;'>Purple</option>
<option value='violet' style='color:violet;'>Violet</option>
<option value='black' style='color:black;'>Black</option>
<option value='gray' style='color:gray;'>Gray</option>
<option value='silver' style='color:silver;'>Silver</option>
<option value='white' style='color:white;'>White</option>
</select>
</td>
</tr>
<tr>
<td width='145' class='tbl2'>&nbsp;</td>
<td class='tbl2'>
".displaysmileys("message")."
</td>
</tr>
<tr>
<td valign='top' width='145' class='tbl2'>".$locale['463']."</td>
<td class='tbl1'>
<input type='checkbox' name=%252526%25252339%25253Bdisable_smileys%252526%25252339%25253B value='1'$disable_smileys_check>".$locale['483']."<br>
<input type='checkbox' name=%252526%25252339%25253Bdelete%252526%25252339%25253B value='1'$del_check>".$locale['482']."
</td>
</tr>\n";
   if ($settings['attachments'] == "1") {
      echo "<tr>\n<td valign='top' width='145' class='tbl2'>".$locale['464']."</td>\n<td class='tbl1'>\n";
      $result = dbquery("SELECT * FROM ".$db_prefix."forum_attachments WHERE post_id='$post_id'");
      if (dbrows($result)) {
         $adata = dbarray($result);
         echo "<input type='checkbox' name=%252526%25252339%25253Bdelete_attach%252526%25252339%25253B value='1'$del_attach_check>".$locale['484']."\n";
         echo "<a href='".FORUM."attachments/".$adata['attach_name']."[".$adata['attach_id']."]".$adata['attach_ext']."'>".$adata['attach_name']."[".$adata['attach_id']."]".$adata['attach_ext']."</a>\n";
      } else {
         echo "<input type='file' name=%252526%25252339%25253Battach%252526%25252339%25253B enctype='multipart/form-data' class='textbox' style='width:200px;'><br>\n";
         echo "<span class='small2'>".sprintf($locale['466'], parsebytesize($settings['attachmax']), str_replace(',', ' ', $settings['attachtypes']))."</span>";
   
      }
      echo "</td>\n</tr>\n";
   }
   echo "</table>
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' colspan='2' class='tbl1'>
<input type='submit' name=%252526%25252339%25253Bpreviewchanges%252526%25252339%25253B value='".$locale['405']."' class='button'>
<input type='submit' name=%252526%25252339%25253Bsavechanges%252526%25252339%25253B value='".$locale['409']."' class='button'>
</td>
</tr>
</table>
</form>\n";
   closetable();
}
?>




EDIT: Galėtum gerbiamasis naudoti code tagus :)

Redagavo MaFetas· 2009 Sau. 14 20:01:51

Parašė Spyware· 2009 Sau. 2 19:01:48
#8

UP!

sory už flooda, bet negi niekas nežinot ?

Parašė Spyware· 2009 Sau. 14 19:01:48
#9

Kaip uždėti tokį lyg borderį :






style.css :

body {
   background-color:#000000;
   background-image: url(fonas.jpg);
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   padding:0px 0px 0px 0px;
   margin-top:0px;
   margin-bottom:0px;
}

.forumline {
   border: solid 1px #8F99A9;
   background-color: #F8F8F8;
}

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

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

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

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

a.white {
   color:#000020;
   text-decoration:none;
   font-size:10px;
   font-weight:bold;
}

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

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

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

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

td {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
}

pre {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:9px;
}

.alt {
   color:#1C1C1C;
}
.header {
   background-color:#F6F8FA;
   
}

.sub-header {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   color:#000020;
   background-color:#F6F8FA;
   background-image:url(images/news_footer.gif);
   border-top:1px #8F99A9 solid;
   border-bottom:1px #8F99A9 solid;
   padding:5px;
}

.button {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   color:#FFFFFF;
   border:1px solid; border-color:#B7B7B7 #B7B7B7 #B7B7B7 #B7B7B7;
   background: #FFFFFF;
   background-image: url(images/button.gif);
   margin-top:2px;
}
   
.textbox {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   color:#000000;
   background-color:#FFFFFF;
   border:1px #8F99A9 solid;
}


.main-body {
   background-color:#FFFFFF;
   color: #3B3B3B;
   font-weight: normal;
   padding:4px 4px 6px 6px;
}

.table-cellpic {
   font-size: 10px;
   line-height: 22px;
   font-weight: bold;
   color: #FFFFFF;
   background-color: #000000;
   background-image: url(images/cellpic1.gif);
   padding:0px 6px 0px 6px;

}

.panel-border {
   border: 1px solid #FFFFF;
}

.news-border {
   border-top: solid #CACACA;
   border-top-width: 1px;
   border-left: solid #CACACA;
   border-left-width: 1px;
   border-right: solid #CACACA;
   border-right-width:1px;
   border-bottom: solid #F6F6F6;
   border-bottom-width:0px;
}

.panel-cellpic {
   font-size: 10px;
   line-height: 22px;
   font-weight: bold;
   color: #FFFFFF;
   background-color: #FFFFFF;
   background-image: url(images/cellpic1.gif);
   padding:0px 20px 0px 20px;
}

.side-body {
   color: #2D5496;
   font-weight: normal;
   padding:4px 4px 4px 4px;

}

.main-bg {
   background-color:#F8F8F8;
}

.border {
   border-width:0px 1px 1px 1px;
   border-color:#8F99A9;
   border-style:solid;
}

.news-footer {
   background: #F0F4F7;
   background-image:url(images/news_footer.gif);
   font-size:9px;
   font-weight:normal;
   color:#0C0C0C;
   height:22px;
   padding:4px 4px 4px 4px;
}

.capmain {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
   font-weight : bold;
   color : #000;
        text-align : center;
        background-image: url('images/cellpic1.gif');
   background-color : #fff;
   padding : 8px 0px 4px 0px;
}
.scapmain {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   font-weight : bold;
   color : #fff;
        background-image: url('images/cellpic2.gif');
   background-color : #f1f1f1;
   border-bottom : 0px solid #e1e1e1;
   padding : 8px;

.footer {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:9px;
   color:#000000;
   height:24px;
   background-color:#F6F8FA;
   background-image: url(images/news_footer.gif);
   border-top:1px #8F99A9 solid;
   border-bottom:0px #8F99A9 solid;
   padding:4px 4px 6px 4px;
}

img {
   border: 0px;
}

.scapmain {
   font-family:Verdana,Tahoma,Arial,Sans-Serif;
   font-size:10px;
   font-weight:bold;
   color:#000;
   height:19px;
   padding:0px 2px 0px 2px;
   border-width:1px 0px 1px 0px;
   border-color:#8F99A9 #8F99A9 #8F99A9 #8F99A9;
   border-style:solid;
}

.tbl-border {
   background-color:#B4C6D8;
}

.tbl {
   font-size:11px;
   padding:4px;
}

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

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

/* Forum header*/
.forum-caption {
   font-size:10px;
   font-weight:bold;
   color:#000000;
   background-color:#F6F8FA;
   height:24px;
   padding:0px 4px 2px 4px;
   background-image:url(images/cellpic2.gif);
   background-repeat:repeat-x;
}

/* Quote blocks */
.quote {
   color:#006E29;
   background-color:#F0F0F0;
   padding:2px;
   margin:0px 20px 0px 20px;
   border:1px #8F99A9 solid;
}

/* Voting Poll */
.poll {
   height:12px;
   border:1px #8F99A9 solid;
}

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

/* This is for the Shoutbox */
.shoutboxname {
   font-weight:bold;
   color:#FFDDAA;
}

.shoutbox {
   color:#06070A;
}

.shoutboxdate {
   font-size:9px;
   color:#1C1C1C;
}

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

.small2 {
   font-size:9px;
   font-weight:normal;
   color:#1C1C1C;
}

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

.side-label {
   background-color:#F8F8F8;
   font-weight:normal;
   color:#1C1C1C;
   padding:2px;
}

/* This is for the Photo Gallery */
.gallery {
   padding: 16px 0px 8px 0px;
}

.gallery img {
   border: 1px solid #8F99A9;
   filter: gray;
}

.gallery:hover img {
   border: 1px solid #4E79F3;
   filter: none;
}

img.activegallery   {
   border: 1px solid #8F99A9;
   filter: none;
}



Redagavo Spyware· 2009 Sau. 14 19:01:16

Parašė Spyware· 2009 Sau. 14 19:01:18
#10

kad tarp temos tokie kaip brūkšniai būtų, table ar kas jis toks :|

Parašė Spyware· 2009 Sau. 16 14:01:23
#11

kad tarp temos tokie kaip brūkšniai būtų, table ar kas jis toks :|

Parašė Spyware· 2009 Vas. 1 18:02:24
#12

Klausimas :

turiu tokią panelę :

$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,03");
openside("Vartotoju istorija");
echo "<table cellpadding='0' cellspacing='0' width='100%'>";

if (dbrows($result) != 0) {
while ($data = dbarray($result)) {
$lastseen = time() - $data['user_lastvisit'];
if ($lastseen < 60){
$lastseen = "<font color='green'><img src='".IMAGES."online.gif' alt=''></font>";
} else { $lastseen = "<font color='red'><b>Atsijunges</b></font>";}

echo "<tr><td width='100%' valign='top' align='center'>".$data['user_name']." <a href='".BASEDIR."messages.php?msg_send=".$data['user_id']."'><img src='".IMAGES."email.png' alt=''></a><br>".$lastseen."<br><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='".$data['user_name']."'><img border='0' src='".IMAGES."avatars/"; if($data['user_avatar']) {echo $data['user_avatar'];} else { echo "noavatar.gif";}

echo "'></a></br></td></tr>";
}} else { echo "<td align='center'>Nebuvo prisijungusiu nariu</td>";}

echo "</table><center>";
closeside();




ir kaip padaryti kad jeigu nėra avataro būtų img :
images/noavatar.gif

Redagavo Spyware· 2009 Vas. 1 19:02:52

Parašė Spyware· 2009 Vas. 2 18:02:00
#13

Klausimas :

turiu tokią panelę :

$result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_lastvisit>'0' AND user_status='0' ORDER BY user_lastvisit DESC LIMIT 0,03");
openside("Vartotoju istorija");
echo "<table cellpadding='0' cellspacing='0' width='100%'>";

if (dbrows($result) != 0) {
while ($data = dbarray($result)) {
$lastseen = time() - $data['user_lastvisit'];
if ($lastseen < 60){
$lastseen = "<font color='green'><img src='".IMAGES."online.gif' alt=''></font>";
} else { $lastseen = "<font color='red'><b>Atsijunges</b></font>";}

echo "<tr><td width='100%' valign='top' align='center'>".$data['user_name']." <a href='".BASEDIR."messages.php?msg_send=".$data['user_id']."'><img src='".IMAGES."email.png' alt=''></a><br>".$lastseen."<br><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title='".$data['user_name']."'><img border='0' src='".IMAGES."avatars/"; if($data['user_avatar']) {echo $data['user_avatar'];} else { echo "noavatar.gif";}

echo "'></a></br></td></tr>";
}} else { echo "<td align='center'>Nebuvo prisijungusiu nariu</td>";}

echo "</table><center>";
closeside();




ir kaip padaryti kad jeigu nėra avataro būtų img :
images/noavatar.gif

Parašė Tadziokaz· 2009 Vas. 2 18:02:57
#14

if ($userdata['user_avatar'] != "") {
   echo "<hr><center><img border='0' alt='".$locale['on106']."' title='".$locale['on106']."' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'></center><hr>\n";
      } else {
   echo "<br><center><img border='0' alt='".$locale['on107']."' title='".$locale['on107']."' src='".INFUSIONS."user_info_panel/images/noimage.jpeg'></center><br><hr>\n";
}




pabandyk prisitaikyt :D

Redagavo Tadziokaz· 2009 Vas. 2 18:02:17

Parašė Spyware· 2009 Vas. 2 19:02:50
#15

dq, šito ir reikėjo