Navigacija

Vartotojų tinkle

Prisijungusių svečių: 877
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,968
Naujausias narys: Loretukas222

Naujausi straipsniai

Paskutiniai nariai

Reikalas 3 savaitės
tanos 6 savaitės
LnKnPrK111 savaitės
inti13 savaitės
kileedyg20 savaitės
Kižas27 savaitės
Bruksnys28 savaitės
laleceylan5029 savaitės
minimukas30 savaitės
N-2032 savaitės
Rytis33 savaitės
DjArtas34 savaitės
WolfHammer34 savaitės
Nostesi45 savaitės
Wisedocs45 savaitės
asdasdddz48 savaitės
Paslapties K...50 savaitės
Audrius_1752 savaitės
Simbijanas64 savaitės
Karinacraft65 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 216.73.216.38
Naujienų: 529
Straipsnių: 235
Temų: 52,592
Postų: 522,552
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

LnKnPrK1
2026 Bir. 21 09:06:52
Sveiki, gal kas is administracijos gali parasyti man PM,aciu

minimukas
2026 Vas. 21 08:02:25
oi oi akinanti šypsen yra dar cia gyvu? akinanti šypsen

N-20
2026 Vas. 6 21:02:05
O mes dar gyvi šypsosi)

WolfHammer
2026 Sau. 25 01:01:35
drovus

Žmogus
2025 Geg. 31 10:05:18
Kas geresnio? šypsosi

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
Shoutbox spalva.
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: FlyOrDie Peržiūrų: 1772      Spausdinti temą
2011 Rugs. 17 15:09:51          1 žinutė iš 4
Spausdinti pranešimą
Sveiki, noreciau paklausti, kaip pakeisti saukyklos spalva.. kadangi kaip rasai per ja nieko nesimato šypsosi






http://www.part.lt/img/947b517b2...1ab831.png

3 atsakymai:
2011 Rugs. 17 18:09:34          2 žinutė iš 4
Spausdinti pranešimą
.css failus redaguokismerkia akį arba shoutbox.php
0


greitieji kreditai

#1 kur butent radaguoti shoutbox.php? — FlyOrDie, 2011 Rugs. 17 23:09:08 - [Prisegė Creatium 2014 Vas. 23 21:02:25]
2011 Rugs. 17 23:09:25          3 žinutė iš 4
Spausdinti pranešimą
pizdoj. nei koda idedi nei ka.. imsiiu trauksiu failus ir tau talpinsiu?
0


greitieji kreditai
2011 Rugs. 18 08:09:24          4 žinutė iš 4
Spausdinti pranešimą
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2010 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: shoutbox.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
require_once "../maincore.php";
require_once THEMES."templates/admin_header.php";
include LOCALE.LOCALESET."admin/shoutbox.php";
if (!checkrights("S") || !defined("iAUTH") || $_GET['aid'] != iAUTH) { redirect("../index.php"); }

include_once INCLUDES."bbcode_include.php";

if (isset($_GET['status']) && !isset($message)) {
if ($_GET['status'] == "su") {
$message = $locale['410'];
} elseif ($_GET['status'] == "del") {
$message = $locale['411'];
} elseif ($_GET['status'] == "delall") {
$message = number_format(intval($_GET['numr']))." ".$locale['412'];
}
if ($message) { echo "<div id='close-message'><div class='admin-message'>".$message."</div></div>\n"; }
}

if (isset($_GET['action']) && $_GET['action'] == "deleteshouts") {
$deletetime = time() - ($_POST['num_days'] * 86400);
$numrows = dbcount("(shout_id)", DB_SHOUTBOX, "shout_datestamp < '".$deletetime."'");
$result = dbquery("DELETE FROM ".DB_SHOUTBOX." WHERE shout_datestamp < '".$deletetime."'");
redirect(FUSION_SELF.$aidlink."&status=delall&numr=$numrows");
} elseif ((isset($_GET['action']) && $_GET['action'] == "delete") && (isset($_GET['shout_id']) && isnum($_GET['shout_id']))) {
$result = dbquery("DELETE FROM ".DB_SHOUTBOX." WHERE shout_id='".$_GET['shout_id']."'");
redirect(FUSION_SELF.$aidlink."&status=del");
} else {
if (isset($_POST['saveshout']) && (isset($_GET['shout_id']) && isnum($_GET['shout_id']))) {
$shout_message = str_replace("\n", " ", $_POST['shout_message']);
$shout_message = preg_replace("/^(.{255}).*$/", "$1", $shout_message);
$shout_message = preg_replace("/([^\s]{25})/", "$1\n", $shout_message);
$shout_message = stripinput($shout_message);
$shout_message = str_replace("\n", "<br />", $shout_message);
if ($shout_message) {
$result = dbquery("UPDATE ".DB_SHOUTBOX." SET shout_message='$shout_message' WHERE shout_id='".$_GET['shout_id']."'");
redirect(FUSION_SELF.$aidlink."&status=su");
} else {
redirect(FUSION_SELF.$aidlink);
}
}
if ((isset($_GET['action']) && $_GET['action'] == "edit") && (isset($_GET['shout_id']) && isnum($_GET['shout_id']))) {
$result = dbquery("SELECT shout_id, shout_message FROM ".DB_SHOUTBOX." WHERE shout_id='".$_GET['shout_id']."'");
if (dbrows($result)) {
$data = dbarray($result);
opentable($locale['420']);
echo "<form name='editform' method='post' action='".FUSION_SELF.$aidlink."&amp;shout_id=".$data['shout_id']."'>\n";
echo "<table cellpadding='0' cellspacing='0' class='center'>\n<tr>\n";
echo "<td class='tbl'>".$locale['421']."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='tbl'><textarea name='shout_message' cols='60' rows='3' class='textbox' style='width:250px;'>".str_replace("<br />", "", $data['shout_message'])."</textarea></td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='tbl' align='center'>".display_bbcodes("150px;", "shout_message", "editform", "smiley|b|u|url|color")."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='tbl'><input type='submit' name='saveshout' value='".$locale['422']."' class='button' /></td>\n";
echo "</tr>\n</table>\n\n</form>";
closetable();
} else {
redirect(FUSION_SELF.$aidlink);
}
}
opentable($locale['401']);
$result = dbquery("SELECT * FROM ".DB_SHOUTBOX);
$rows = dbrows($result);
if (!isset($_GET['rowstart']) || !isnum($_GET['rowstart'])) { $_GET['rowstart'] = 0; }
if ($rows != 0) {
if ($_GET['rowstart'] == 0) {
echo "<div style='text-align:center'>\n";
echo "<form name='deleteform' method='post' action='".FUSION_SELF.$aidlink."&amp;action=deleteshouts'>\n";
echo $locale['430']." <select name='num_days' class='textbox' style='width:50px'>\n";
echo "<option value='90'>90</option>\n";
echo "<option value='60'>60</option>\n";
echo "<option value='30'>30</option>\n";
echo "<option value='20'>20</option>\n";
echo "<option value='10'>10</option>\n";
echo "</select>".$locale['431']."<br /><br />\n";
echo "<input type='submit' name='deleteshouts' value='".$locale['432']."' class='button' onclick=\"return confirm('".$locale['450']."');\" /><br /><br />\n";
echo "</form>\n</div>\n";
}
$i = 0;
$result = dbquery(
"SELECT s.shout_id, s.shout_name, s.shout_message, s.shout_datestamp, s.shout_ip, u.user_id, u.user_name, u.user_status
FROM ".DB_SHOUTBOX." s
LEFT JOIN ".DB_USERS." u ON s.shout_name=u.user_id
ORDER BY shout_datestamp DESC LIMIT ".$_GET['rowstart'].",20"
);
echo "<table cellpadding='0' cellspacing='1' width='100%' class='tbl-border center'>\n";
while ($data = dbarray($result)) {
echo "<tr>\n<td class='".($i % 2 == 0 ? "tbl1" : "tbl2")."'><span class='comment-name'>";
if ($data['user_name']) {
echo "<span class='slink'>".profile_link($data['user_id'], $data['user_name'], $data['user_status'])."</span>";
} else {
echo $data['shout_name'];
}
echo "</span>\n<span class='small'>".$locale['global_071'].showdate("longdate", $data['shout_datestamp'])."</span><br />\n";
echo str_replace("<br />", "", parseubb(parsesmileys($data['shout_message']), "b|i|u|url|color"))."<br />\n";
echo "<span class='small'><a href='".FUSION_SELF.$aidlink."&amp;action=edit&amp;shout_id=".$data['shout_id']."'>".$locale['440']."</a> -\n";
echo "<a href='".FUSION_SELF.$aidlink."&amp;action=delete&amp;shout_id=".$data['shout_id']."' onclick=\"return confirm('".$locale['451']."');\">".$locale['441']."</a> -\n";
echo "<strong>".$locale['442'].$data['shout_ip']."</strong></span></td>\n";
echo "</tr>\n";
$i++;
}
echo "</table>\n";
} else {
echo "<div style='text-align:center'><br />\n".$locale['443']."<br /><br />\n</div>\n";
}
closetable();
echo "<div align='center' style='margin-top:5px;'>\n".makePageNav($_GET['rowstart'],20,$rows,3,FUSION_SELF.$aidlink."&amp;")."\n</div>\n";
}

require_once THEMES."templates/footer.php";
?>
0

Peršokti į forumą: