Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Ieskojau googleje bet neradau, gal jus zinot ta taga kuri irasius i puslapi po jusu nustatyto laiko permeta i kita nustatyta puslapi. Jai zinot parasykit
http://Online-Tv.LT
Koduoju Php-Fusion dizainus
Redagavo Zeck 2010 Bir. 5 14:06:22 |
aš deadlowe-duxas
Narys
Kapitonas
Pranešimai: 571
Įstojęs: 2008 Bal. 20 13:04:28
|
turi omenyje redirecta ? bent jau kiek supratau is tavo sito posto
Aš aš. |
tm
Narys
Antras po Dievo
Pranešimai: 3935
Įstojęs: 2006 Spa. 22 18:10:48
|
Pasidarai index.php ir idedi sita koda
<HTML>
<HEAD>
<META HTTP-EQUIV="refresh" CONTENT="4;URL=http://www.one.lt">
</HEAD>
<BODY>
<CENTER><h1>Naujas mûsø adresas <b><u>www.one.lt</u></b></h1></CENTER>
<br><br>
</BODY>
URL_DELETED - Visos spausdinimo paslaugos ant įvairiausių dirbinių ir popieriaus rūšių. |
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
tm dekui +10 .
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
tm
Narys
Antras po Dievo
Pranešimai: 3935
Įstojęs: 2006 Spa. 22 18:10:48
|
Nėr už ka ...
URL_DELETED - Visos spausdinimo paslaugos ant įvairiausių dirbinių ir popieriaus rūšių. |
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Gal zinote kaip is sitos naujausiu straipsniu paneles padaryti naujausias video?
openside("Paskutiniai straipsniai ");
echo "<div class='side-label'><b>Paskutiniai straipsniai</b></div>\n";
$result = dbquery(
"SELECT ta.*,tac.* FROM ".$db_prefix."articles ta
INNER JOIN ".$db_prefix."article_cats tac ON ta.article_cat=tac.article_cat_id
WHERE ".groupaccess('article_cat_access')." ORDER BY article_datestamp DESC LIMIT 0,7"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['article_subject'], 23);
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."readarticle.php?article_id=".$data['article_id']."' title='".$data['article_subject']."' class='side'>$itemsubject</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
echo "</tr>
</table>";
http://Online-Tv.LT
Koduoju Php-Fusion dizainus
Redagavo Zeck 2009 Rugs. 23 13:09:28 |
iStyle
VIP narys
Terminatorius
Pranešimai: 1358
Įstojęs: 2008 Rugs. 1 15:09:08
|
Pagal mane tai šitas kodas ne naujausi,bet paskutiniai straipsniai
|
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Radai prie ko prisikabinti .
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
iStyle
VIP narys
Terminatorius
Pranešimai: 1358
Įstojęs: 2008 Rugs. 1 15:09:08
|
Išjunk smailus kode.
|
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Niekaip nepadarau kad headeris butu centre. Gal jums pavyks?
<?
/************************/
/* Theme Settings */
/************************/
$body_text = "#D7DCE9";
$body_bg = "#34353B";
$theme_width = "99%";
$theme_width_l = "180";
$theme_width_r = "180";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table class='bodyline' width='$theme_width' cellspacing='0' cellpadding='0' border='0'>";
echo "<tr><td align='center' valign='top'>";
echo "<table width='100%' cellspacing='0' cellpadding='0' border='0'>";
echo "<tr><td align='center' valign='top'>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td align='center' width='60%' background='".THEME."images/cellpic_bkg.jpg' height='140'><a align='center' alt='center' href='".BASEDIR."index.php'><img src='".THEME."images/logo.png' alt='' title='".$settings[sitename]."'></td>";
echo "<td width='40%' background='".THEME."images/cellpic_bkg.jpg' height='140'>";
echo "</td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td><table width='100%' height='28' border='0' cellpadding='4' cellspacing='0'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo "<td class='cellpic'>\n";
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " <img src='".THEME."images/divider.gif' alt=''> "; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target."'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target."'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</td>\n";
echo "<td align='right' class='cellpic' nowrap><strong>".ucwords(showdate($settings['subheaderdate'], time()))."</strong>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "<tr valign='top'>";
echo "<td valign='middle' align='right'>";
echo "<table width='100%' cellpadding='4' bgcolor='#34353B' cellspacing='0' border='0'>";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td>".stripslashes($settings['footer'])."<br>";
echo "<tr><td><table border='0' cellpadding='0' cellspacing='0' width='100%' height='30'>";
echo "<tr><td class='footer' valign='middle' width='35%'>";
if ($license == false) {
echo "Varikliukas: Php-Fusion";
}
echo "</td>";
echo "<td class='footer' align='center' width='22%'>";
echo "Kopijuoti griežtai draudžiama © 2009 </a></td>";
echo "<td class='footer' align='right' width='33%'><span class='stats'><b>".$settings['counter']."</b></span> ".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td></tr></table></center></table></table></table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table border='0' style='border: 1px solid #191928' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td background='".THEME."images/cellpic3.gif' height='24'><img src='".THEME."images/small_arrow.gif' alt='' hspace='3'><font class='block-title'>$subject</font></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'> ";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
echo "<td height='24' align='right' class='news-footer'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
echo "".$info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' alt='' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table style='border: 1px solid #191928' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td background='".THEME."images/cellpic3.gif' height='24'><img src='".THEME."images/small_arrow.gif' alt='' hspace='3'><font class='block-title'>$subject</font></td>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
echo "".$info['article_reads'].$locale['044']." ";
echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' alt='' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table width='100%' cellpadding='2' cellspacing='1' style='border: 1px solid #191928'>";
echo "<tr><td background='".THEME."images/cellpic2.gif' bgcolor='#34353B' height='22'><font class='head-title'> $title</font></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table style='border: 1px solid #191928' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td height='24' width='100%' background='".THEME."images/cellpic3.gif'>";
echo "<img src='".THEME."images/small_arrow.gif' alt='' hspace='3'><font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#191928' class='side-body' width='100%'>";
}
function closeside() {
echo "</td></tr></taašable border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='100%' background='".THEME."images/panfoot.gif'> </td>
</tr>
</table>";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table border='0' style='border: 1px solid #191928' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td height='24' width='100%' background='".THEME."images/cellpic3.gif'>";
echo "<img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"><font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#191928' class='side-body'width='100%' '".THEME."images/back1.gif'>";
echo "<div id='box_$boxname'".($open=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
http://Online-Tv.LT
Koduoju Php-Fusion dizainus
Redagavo Zeck 2009 Rugs. 23 18:09:52 |
MAnjack
Garbės narys
Legenda
Pranešimai: 11821
Įstojęs: 2006 Kov. 2 20:03:58
|
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
į
echo "<table width='100%' align='center' border='0' cellspacing='0' cellpadding='0'><tr>";
|
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
MAnjack parašė:
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
į
echo "<table width='100%' align='center' border='0' cellspacing='0' cellpadding='0'><tr>";
Nepadejo :s
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Gal turit kas nors game server status scripta?
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
Deiviux.eu
Narys
Tankas
Pranešimai: 1882
Įstojęs: 2007 Geg. 2 13:05:17
|
www.phpfusion.lt tikrai rasi
|
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Jai linka numestum butu neblogai beje man ne kokiam cs ar gta reikia,o rimtam zaidimui "Red Orchestra"
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
citni
Narys
Kapitonas
Pranešimai: 796
Įstojęs: 2009 Bir. 28 15:06:04
|
Ta prasme kaip hata.lt ar koks? Ar server list?
|
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Kaip toki http://callofduty.lt/serveriai.php arba kaip toki http://callofdutyworld.lt/ .Seip nelabai svarbu koks tas listas bus, bet kad veiktu ant red orchestra zaidimo
http://Online-Tv.LT
Koduoju Php-Fusion dizainus
Redagavo Zeck 2009 Rugs. 26 17:09:29 |
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Susiduriau su didele beda. Atsidarius tinklapi http://redorchestra.lt viskas gerai bet kai nori uzeiti foruma ismeta lentele kad tinklapis kenkejiskas http://redorchestra.lt/forum/ind... . Paleiciau forumo failus vistiiek tas pats. Kaip sutvarkyti kad nemestu sio ispejimo?
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
iGolf
Administratorius
Ekspertas
Pranešimai: 2415
Įstojęs: 2007 Gru. 22 15:12:09
|
Čia reikia kažką google daryti man atrodo ir viskas bus gerai.
Visa laiką ieškau žmonių keletui projektų sudominau? Rašykit |
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Kazka bandau su ja daryti, bet kaip pirma karta susidures nekas gaunasi
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
iGolf
Administratorius
Ekspertas
Pranešimai: 2415
Įstojęs: 2007 Gru. 22 15:12:09
|
Yra straipsnis man atrodo Peacemaker parašytas .
Visa laiką ieškau žmonių keletui projektų sudominau? Rašykit |
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Paieskosiu
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Turiu dar viena klausima. Kaip susikurti faila i kuri mestu uzbanintus vartotujus ir jame rasytu priezasti uz ka uzbanintas t.y ainu i Administracijos panelė/Vartotojų administracija/Juodasis sąrašas ten irasau vartotojo kuri noriu uzbaninti ip ir priezasti. Noreciau kad ta priezasti rodytu tam susikurtam faile pwz ban.php
Tikiuosi supratot esme
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
ArturasS
VIP narys
Pulkininkas
Pranešimai: 416
Įstojęs: 2009 Spa. 12 08:10:19
|
Čia jau reikia į kodus lysti. Galima su fwrite funkcija tik aš nepamenu tarkim kodo kuris nuskaito nick na čia tik pvz:
$fopt = fopen("uzbaninti.txt", "w");
fwrite($fopt, "<b>Uzbanintas</b> - $nick <b>Trukmė</b> - $ban_laikas <b>Priežastis</b> - $uz_ka\n");
fclose($fopt);
Tik čia reikės sukurti tą failą ir sužinoti fusiono nick, trukmės ir priežasties nuskaityma ir šiame kode pakeisti. O kodą įmesti reikės į ta failą kuriame patvirtini baną...
Redagavo ArturasS 2009 Spa. 13 16:10:54 |
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Cia kaip supratau reikia susikurti faila uzbaninti.txt ir jame irasyti uzbaninto zmogaus ip taip? O kaip suprasti mesti ta koda i faila kuriame patvirtinu bana?
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
ArturasS
VIP narys
Pulkininkas
Pranešimai: 416
Įstojęs: 2009 Spa. 12 08:10:19
|
Ne, čia reikia tik sukurti šitą failą, o šitą kodą įterpti į tą baninimo failą, nežinau kaip jis vadinasi, bet jame ten prie baninimo funkcijos įrašai kodą ir vietoj "$nick", "$ban_laikas" ir "$uz_ka" reikia įrašyti tuos nuskaitymo kodus kurie yra fusione... Čia nelabai paprasta jei nesupranti php... Nu aš nežinau kaip paiškinti.. :D
EDIT: Kodą įterpti reikai kažkur į "/administration/members.php"..
Redagavo ArturasS 2009 Spa. 13 15:10:33 |
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
parasysiu i skype tau geriau
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Tarkim turiu duom baze. Taciau esu antras uzsiregistraves zmogus. Ar imanoma apkeisti vietomis kad as buciau pirmas uzsiregistraves ir buciau vyriausias
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
Niger
Garbės narys
Antras po Dievo
Pranešimai: 3554
Įstojęs: 2005 Bir. 21 18:06:06
|
galima
s.k.y.p.e - pavojuz |
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Kokiu budu?
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Kaip padaryti kad saukykloje parasius pranesima mestu ne i news.php o i kita nuoroda
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
Pakartoti slaptažodį
Moderatorius
Viršesnis už Dievą
Pranešimai: 5188
Įstojęs: 2008 Rugp. 6 22:08:39
|
infusions/shoutbox.php > FORM ACTION == 'tavo norimas psl' vietoje ".FUSION_SELF."
|
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Pas mane ne originalus shoutboxas. Prisegiau koki naudoju .
http://Online-Tv.LT
Koduoju Php-Fusion dizainus
|
Pakartoti slaptažodį
Moderatorius
Viršesnis už Dievą
Pranešimai: 5188
Įstojęs: 2008 Rugp. 6 22:08:39
|
130 eilutė, xxxxx pakeisk į norimą failą. :)
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 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
+----------------------------------------------------+
| Shoutbox v6.01.4 - Modded by Shedrock 2006
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
if (file_exists(INFUSIONS."shoutbox_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."shoutbox_panel/locale/".$settings['locale'].".php";
} else {
include INFUSIONS."shoutbox_panel/locale/English.php";
}
require_once INFUSIONS."shoutbox_panel/bb_script.php";
echo "<script type='text/javascript' language='JavaScript'>
function textCounter(field, countfield, maxlimit) {
if (field.value.length > maxlimit) // if too long...trim it!
field.value = field.value.substring(0, maxlimit);
// otherwise, update 'characters left' counter
else
countfield.value = maxlimit - field.value.length;}
</script>
<script type='text/javascript' src='".INFUSIONS."shoutbox_panel/editor.js'></script><script src='".INFUSIONS."shoutbox_panel/boxover.js'></script><script type='text/javascript' src='http://download.skype.com/share/skypebuttons/js/skypeCheck.js'></script>
<script language='javascript' type='text/javascript'>
function fuzetext(elname, wrap1, wrap2) {
if (document.selection) { // for IE
var str = document.selection.createRange().text;
document.forms['shoutform'].elements[elname].focus();
var sel = document.selection.createRange();
sel.text = wrap1 + str + wrap2;
return;
} else if ((typeof document.forms['shoutform'].elements[elname].selectionStart) != 'undefined') { // for Mozilla
var txtarea = document.forms['shoutform'].elements[elname];
var selLength = txtarea.textLength;
var selStart = txtarea.selectionStart;
var selEnd = txtarea.selectionEnd;
var oldScrollTop = txtarea.scrollTop;
//if (selEnd == 1 || selEnd == 2)
//selEnd = selLength;
var s1 = (txtarea.value).substring(0,selStart);
var s2 = (txtarea.value).substring(selStart, selEnd)
var s3 = (txtarea.value).substring(selEnd, selLength);
txtarea.value = s1 + wrap1 + s2 + wrap2 + s3;
txtarea.selectionStart = s1.length;
txtarea.selectionEnd = s1.length + s2.length + wrap1.length + wrap2.length;
txtarea.scrollTop = oldScrollTop;
txtarea.focus();
return;
} else {
insertText(elname, wrap1 + wrap2);
}
}
</script>";
openside($locale['120']);
if (checkrights("S") && $action == "delete" && isNum($shout_id)) {
$result = dbquery("DELETE FROM ".DB_PREFIX."shoutbox WHERE shout_id='$shout_id'");
}
if (iMEMBER || $settings['guestposts'] == "1") {
if (isset($_POST['post_shout'])) {
$flood = false;
if (iMEMBER) {
$shout_name = $userdata['user_id'];
} elseif ($settings['guestposts'] == "1") {
$shout_name = trim(stripinput($_POST['shout_name']));
$shout_name = preg_replace("(^[0-9]*)", "", $shout_name);
if (isNum($shout_name)) $shout_name="";
}
$shout_message = str_replace("\n", " ", $_POST['shout_message']);
$shout_message = preg_replace("/^(.{255}).*$/", "$1", $shout_message);
$shout_message = preg_replace("/([^\s]{85})/", "$1\n", $shout_message);
$shout_message = trim(stripinput(censorwords($shout_message)));
$shout_message = str_replace("\n", "<br>", $shout_message);
if ($shout_name != "" && $shout_message != "") {
$result = dbquery("SELECT MAX(shout_datestamp) AS last_shout FROM ".$db_prefix."shoutbox WHERE shout_ip='".USER_IP."'");
if (!iSUPERADMIN || dbrows($result) > 0) {
$data = dbarray($result);
if ((time() - $data['last_shout']) < $settings['flood_interval']) {
$flood = true;
$result = dbquery("INSERT INTO ".$db_prefix."flood_control (flood_ip, flood_timestamp) VALUES ('".USER_IP."', '".time()."')");
if (dbcount("(flood_ip)", "flood_control", "flood_ip='".USER_IP."'") > 4) {
if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_status='1' WHERE user_id='".$userdata['user_id']."'");
}
}
}
if (!$flood) $result = dbquery("INSERT INTO ".$db_prefix."shoutbox (shout_name, shout_message, shout_datestamp, shout_ip) VALUES ('$shout_name', '$shout_message', '".time()."', '".USER_IP."')");
}
fallback(FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : ""));
}
//Added Ban MOD Start
if ($step == "ban") {
if ($act == "on") {
if ($user_id != 1) {
$result = dbquery("UPDATE ".$db_prefix."users SET user_status='1' WHERE user_id='$user_id'");
header("Location:".BASEDIR."news.php");
}
} elseif ($act == "off") {
$result = dbquery("UPDATE ".$db_prefix."users SET user_status='0' WHERE user_id='$user_id'");
header("Location:".BASEDIR."news.php");
}
}
//Added Ban MOD End
//Smiley Popup.
echo "<script type='text/javascript' language='JavaScript'>
<!-- Begin
function smileys(URL) {
day = new Date();
id = day.getTime();
eval(\"page\" + id + \" = window.open(URL, '\" + id + \"', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=350,height=90,left = 407,top = 329');\");
}
// End Smiley Popup-->
</script>
<form name='shoutform' method='post' action='xxxxx'>
<table align='center' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2'>\n";
if (iGUEST) {
echo $locale['121']."<br>
<input type='text' name='shout_name' value='' class='textbox' maxlength='30' style='width:140px;'><br>".$locale['122']."<br>\n";
}
echo "<textarea onKeyDown=\"textCounter(this.form.shout_message,this.form.commentlen,200);\" onKeyUp=\"textCounter(this.form.shout_message,this.form.commentlen,200);\" id='shout_message' name='shout_message' rows='4' class='textbox' style='margin-bottom:-5px; width:140px;'>".str_replace("<br>", "", $data['shout_message'])."</textarea>
</td></tr><tr>
<td align='left'>
<input style='margin-top:10px; margin-bottom:5px;' alt='".$locale['fb_002']."' title='".$locale['fb_002']."' type='submit' name='post_shout' value='".$locale['123']."' class='button'>
</td>
<td align='right'>
<a style='text-decoration:none; font-weight:normal;' href=\"javascript:smileys('".INFUSIONS."shoutbox_panel/smileys.php')\">Šypsenėlės</a>
</td>
</tr>
</table>
</form>";
} else {
echo "<center>".$locale['125']."</center><br>\n";
}
$result = dbquery("SELECT count(shout_id) FROM ".$db_prefix."shoutbox");
$numrows = dbresult($result, 0);
$result = dbquery(
"SELECT * FROM ".$db_prefix."shoutbox LEFT JOIN ".$db_prefix."users
ON ".$db_prefix."shoutbox.shout_name=".$db_prefix."users.user_id
ORDER BY shout_datestamp DESC LIMIT 0,".$settings['numofshouts']
);
if (dbrows($result) != 0) {
$i = 0;
while ($data = dbarray($result)) {
//Modded for user ban display names.
if (iMEMBER){if ($data['user_status'] == 1) {
echo "";
}else{
echo "<span class='shoutboxname'><a href=\"javascript:fuzetext('shout_message','@".$data['user_name'].":%20-%20','');\"><img src='".INFUSIONS."shoutbox_panel/amp.png' alt='".$locale['fb_006']."' title='".$locale['fb_006']."'></a></span> ";
}
}else if ($data['user_status'] == "1") {
echo "<span style='color:#0000FF;' title='".$locale['fb_011']."'><b># </b></span>";
}else if ($data['user_status'] == "0"){
echo "<img alt='' src='".THEME."images/bullet.gif'> ";
}
if ($data['user_status'] == 1) {
if (iMEMBER){
echo "<span style='color:#0000FF;' title='".$locale['fb_011']."'><b># </b></span>";
}else if ($data['user_status'] == "0"){
echo "<img alt='' src='".THEME."images/bullet.gif'> ";
}
}
//end ban display names.
//Modded for colored names.
$shoutcount = dbcount("(shout_id)", "shoutbox", "shout_name='".$data['user_id']."'");
if ($data[user_level] == "103") {
$userx = "<font color='#F75013'><b>".$data[user_name]."</b></font>";
}else if ($data[user_level] == "102") {
$userx = "<font color='#008000'><b>".$data[user_name]."</b></font>";
}else if ($data[user_level] == "101") {
$userx = "<font color='#3333CC'><b>".$data[user_name]."</b></font>";
}if ($data['user_status'] == 1) {
$userx = "<font color='#B0B0B0' title='".$locale['fb_011']."'>".$data[user_name]."</font>";
}
// end color mod.
if ($data['user_name']) {
echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' title=\"header=[ ".str_replace("]", "]]", str_replace("[", "[[", $data['user_name']))."] body=[ ".str_replace("]", "]]", str_replace("[", "[[", "<center>".($data['user_avatar'] ? "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['u017']."'>" : "<img src='".IMAGES."noav.gif' alt='".$locale['u017']."'>")."</center><br /><b>Forumo žinučių:</b> ".$data['user_posts']."<br>".($data['user_aim'] ? "<img src='http://mystatus.skype.com/smallclassic/".$data['user_aim']."' style='border: none;' alt='".$data['user_aim']."' />" : "").""))."]\">$userx</a>";
} else {
echo $data['shout_name']."\n";
}
echo "<br>\n<span class='shoutboxdate'>".showdate("shortdate", $data['shout_datestamp'])."</span>";
$wiadomosc = nl2br(parseshoutubb(parseubb(parsesmileys($data['shout_message']))));
$shout_wiadomosc = wordwrap($wiadomosc , 500, " ", 1);
if ($userdata['user_level'] >= 103) {
echo "<br>\n[<a href='".ADMIN."shoutbox.php".$aidlink."&action=edit&shout_id=".$data['shout_id']."' class='side'>".$locale['048']."</a> - <a href='".FUSION_SELF.$aidlink."&action=delete&shout_id=".$data['shout_id']."' class='side'>Trinti</a>] ";
if ($data['user_status'] == "1") {
echo "[<a href='".FUSION_SELF.$aidlink."&step=ban&act=off&sortby=$sortby&rowstart=$rowstart&user_id=".$data['user_id']."' class='side'>BAN</a>]";
}else if ($data[user_level] == "103") {
echo"";
}else if ($data['user_status'] == "0") {
echo "[<a href='".FUSION_SELF.$aidlink."&step=ban&act=on&sortby=$sortby&rowstart=$rowstart&user_id=".$data['user_id']."' class='side'>BAN</a>]";
}
echo "<br><span style='font-size:8px;'>".$locale['fb_010']."".$data['user_ip']."</span><br>";
} else {
echo "<br>\n";
}
echo "<span class='shoutbox'>".$shout_wiadomosc ."</span><br>\n";
if ($i != $numrows) echo "<br>\n";
}
if ($numrows > $settings['numofshouts']) {
echo "<center>\n<img src='".THEME."images/bullet.gif' alt=''>
<a href='".INFUSIONS."shoutbox_panel/shoutbox_archive.php' class='side'>".$locale['126']."</a>
<img src='".THEME."images/bulletb.gif' alt=''></center>\n";
}
} else {
echo "<div align='left'>".$locale['127']."</div>\n";
}
closeside();
?>
|
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Neveikia
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
And2s
VIP narys
Pulkininkas
Pranešimai: 329
Įstojęs: 2009 Bal. 30 19:04:04
|
Viskas veikia, tiesiog jis pakeite į "xxxxx" tai todel tave redirectina i 404 klaida. 130 eilutej pasikeisk i kokį nori failą.
www.MAFIACLUB.lt |
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
As minejau kokias nors klaidas? ta xxxxx as pakeiciau nedurnas juk.... bet vistiek nemeta i koki noriu faila
http://Online-Tv.LT
Koduoju Php-Fusion dizainus
Redagavo Zeck 2010 Sau. 23 12:01:58 |
Pakartoti slaptažodį
Moderatorius
Viršesnis už Dievą
Pranešimai: 5188
Įstojęs: 2008 Rugp. 6 22:08:39
|
Parodyk kaip pakeitei tą eilutę.
|
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
// End Smiley Popup-->
</script>
<form name='shoutform' method='post' action='naujienos'>
<table align='center' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2'>\n";
if (iGUEST) {
echo $locale['121']."<br>
<input type='text' name='shout_name' value='' class='textbox' maxlength='30' style='width:140px;'><br>".$locale['122']."<br>\n";
}
Po to bandziau tiesiogine nuoroda
// End Smiley Popup-->
</script>
<form name='shoutform' method='post' action='http://redorchestra.lt/naujienos'>
<table align='center' cellpadding='0' cellspacing='0'>
<tr>
<td colspan='2'>\n";
if (iGUEST) {
echo $locale['121']."<br>
<input type='text' name='shout_name' value='' class='textbox' maxlength='30' style='width:140px;'><br>".$locale['122']."<br>\n";
}
Beje pas mane idiegta seo
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |
Zeck
Narys
Generolas
Pranešimai: 1074
Įstojęs: 2008 Lie. 4 18:07:58
|
Straipsniuose radau tokia pamoka https://webdnd.com/paneles-abi-v...pusej,s128 Pakeitus side-left ir side-right kodus abidvi paneles atsiranda kairei pusei, o kaip padaryti kad juos atsidurtu desineje?
http://Online-Tv.LT
Koduoju Php-Fusion dizainus |