Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,952
Naujausias narys: tomeem

Naujausi straipsniai

Paskutiniai nariai

asirija 2 savaitės
tomeem 4 savaitės
Reikalas 5 savaitės
weberiz 8 savaitės
mRokass10 savaitės
kartoonas11 savaitės
iaescortsmap11 savaitės
ozzWANTED12 savaitės
grunskiz14 savaitės
Bruksnys14 savaitės
illusion14 savaitės
ordo15 savaitės
Jurgaila16 savaitės
originalcs1616 savaitės
Rytis17 savaitės
halis18 savaitės
junkus21 savaitės
morlis21 savaitės
Majakas22 savaitės
andsoft23 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 52.15.160.43
Naujienų: 529
Straipsnių: 235
Temų: 52,585
Postų: 522,523
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.

ozzWANTED
2024 Sau. 17 01:01:00
Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės. šypsosi

Majakas
2023 Gru. 10 19:12:39
Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m akinanti šypsen

Žmogus
2023 Rugs. 7 21:09:14
O gal BloodKiller pasijungs?

Apocal
2023 Rugs. 2 18:09:23
Nu davai nuveikiam kažką akinanti šypsen. Prisijungti kada visi čia akinanti šypsen.

Apocal
2023 Rugs. 2 00:09:18
Šiaip atėjau pažiūrėti ar dar lopas nesby yra ar koks ten buvo.

Š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
Foto :D
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Žaliems

Autorius: Tadziokaz Peržiūrų: 1360      Spausdinti temą
2009 Sau. 10 20:01:13          1 žinutė iš 6
Spausdinti pranešimą
Sveiki, norejau paklausti kaip padaryti? Kad is 6 turiamu nuotrauku rodytu viena kazkuria, perkrovus rodytu kita, ir taip metitu betkokias. Manau cia su rand tik neiseina. šypsosi


Redagavo Tadziokaz 2009 Sau. 10 20:01:25
2009 Sau. 10 20:01:09          2 žinutė iš 6
Spausdinti pranešimą
srand((float) microtime() * 10000000);

$image[1]['pic']='/location/of/image1.jpg';
$image[1]['link']='/location/of/link1.php';

$image[2]['pic']='/location/of/image2.jpg';
$image[2]['link']='/location/of/link2.php';

$image[3]['pic']='/location/of/image3.jpg';
$image[3]['link']='/location/of/link3.php';

$image[4]['pic']='/location/of/image4.jpg';
$image[4]['link']='/location/of/link4.php';

$image[5]['pic']='/location/of/image5.jpg';
$image[5]['link']='/location/of/link5.php';

$rn = array_rand($image);

echo '<a href="'.$image[$rn]['link'].'">';
echo '<img src="'.$image[$rn]['pic'].'">';

Čia pritaikyta baneriams. Nusiimk link'us ir veiks.

Kiekvienam žmogui yra skirta dovana, tik ne kiekvienas sugeba ją atrasti.
2009 Sau. 10 21:01:43          3 žinutė iš 6
Spausdinti pranešimą
e kazkas neto.

Klaida:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/tadziokaz/warcraft.gan.lt/themes/Warcraft/theme.php on line 62




kodas:
<?
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System   |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk            |
| email: nick@php-fusion.co.uk                |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/
/*--------------------------------------------+
|      Warcraft Theme for PHP-Fusion v6       |
|---------------------------------------------|
| author: Stryker of The Conclave © 2006     |
| web: http://www.conclaveforums.com                   |
| email: netbrianw@gmail.com              |
+--------------------------------------------*/

// theme settings
$body_text = "#ffffff";
$body_bg = "#000";
$theme_width = "800";
$theme_width_l = "160";
$theme_width_r = "160";

function render_header($header_content) {

global $theme_width,$settings,$locale;

echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border:1px #ffcc00 solid;'>
<tr>
<td>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='full-header' style='padding:5px;'>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td>



srand((float) microtime() * 10000000);

$image[1]['pic']='/location/of/image1.JPG';
$image[1]['link']='/location/of/link1.php';

$image[2]['pic']='/location/of/image2.JPG';
$image[2]['link']='/location/of/link2.php';

$image[3]['pic']='/location/of/image3.JPG';
$image[3]['link']='/location/of/link3.php';

$image[4]['pic']='/location/of/image4.JPG';
$image[4]['link']='/location/of/link4.php';

$image[5]['pic']='/location/of/image5.JPG';
$image[5]['link']='/location/of/link5.php';

$rn = array_rand($image);

echo '<a href="'.$image[$rn]['link'].'">';
echo '<img src="'.$image[$rn]['pic'].'">';

</td>
</tr>
</table>
</td>
</tr>
</table>\n";

echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>
<td class='white-header'>\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
   $i = 0;
   while($data = dbarray($result)) {
      if (checkgroup($data['link_visibility'])) {
         if ($data['link_url']!="---") {
            if ($i != 0) { echo " &middot;\n"; } 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." class='white'>".$data['link_name']."</a>";
            } else {
               echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
            }
         }
         $i++;
      }
   }
}
echo ($i == 0 ? "&nbsp;" : "")."</td><td align='right' class='white-header'>".ucwords(showdate("%A, %B %d, %Y", time()))."</td>
</tr>
</table>\n";

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

}

function render_footer($license=false) {

global $theme_width,$settings,$locale;

echo "</tr>\n</table>\n";

echo "<table align='center' table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='white-header'>".stripslashes($settings['footer'])."</td>
</tr>
</table>";
if ($license == false) {
                echo "\n";
   echo "\n";
}
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_news($subject, $news, $info) {

global $locale;
   
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>
$news
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='news-footer'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."</td>
<td align='right' class='news-footer'>\n";
if ($info['news_ext'] == "y") echo "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> &middot;\n";
if ($info['news_allow_comments']) echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> &middot;\n";
echo $info['news_reads'].$locale['044']."
<a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;vertical-align:middle;'></a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {

global $locale;

echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='news-footer'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."</td>
<td align='right' class='news-footer'>\n";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." &middot;\n";
echo $info['article_reads'].$locale['044']."
<a href='print.php?type=A&amp;item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;vertical-align:middle;'></a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$title</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scapmain'>$title</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
</table>\n";

}

function opensidex($title,$open="on") {

$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>
<img src='".THEME."images/panel_$box_img.gif' alt='$box_img' name='b_$boxname' onclick=\"javascript:flipBox('$boxname')\">
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='side-body'>
<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";

}

function closesidex() {

echo "</div>
</td>
</tr>
</table>\n";

}

function tablebreak() {

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

}
?>





2009 Sau. 10 21:01:36          4 žinutė iš 6
Spausdinti pranešimą
<?
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System   |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk            |
| email: nick@php-fusion.co.uk                |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/
/*--------------------------------------------+
|      Warcraft Theme for PHP-Fusion v6       |
|---------------------------------------------|
| author: Stryker of The Conclave © 2006     |
| web: http://www.conclaveforums.com                   |
| email: netbrianw@gmail.com              |
+--------------------------------------------*/

// theme settings
$body_text = "#ffffff";
$body_bg = "#000";
$theme_width = "800";
$theme_width_l = "160";
$theme_width_r = "160";

function render_header($header_content) {

global $theme_width,$settings,$locale;

echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border:1px #ffcc00 solid;'>
<tr>
<td>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='full-header' style='padding:5px;'>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td>";



srand((float) microtime() * 10000000);

$image[1]['pic']='/location/of/image1.JPG';
$image[1]['link']='/location/of/link1.php';

$image[2]['pic']='/location/of/image2.JPG';
$image[2]['link']='/location/of/link2.php';

$image[3]['pic']='/location/of/image3.JPG';
$image[3]['link']='/location/of/link3.php';

$image[4]['pic']='/location/of/image4.JPG';
$image[4]['link']='/location/of/link4.php';

$image[5]['pic']='/location/of/image5.JPG';
$image[5]['link']='/location/of/link5.php';

$rn = array_rand($image);

echo '<a href="'.$image[$rn]['link'].'">';
echo '<img src="'.$image[$rn]['pic'].'">';

echo "
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>
<td class='white-header'>\n";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
   $i = 0;
   while($data = dbarray($result)) {
      if (checkgroup($data['link_visibility'])) {
         if ($data['link_url']!="---") {
            if ($i != 0) { echo " &middot;\n"; } 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." class='white'>".$data['link_name']."</a>";
            } else {
               echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
            }
         }
         $i++;
      }
   }
}
echo ($i == 0 ? "&nbsp;" : "")."</td><td align='right' class='white-header'>".ucwords(showdate("%A, %B %d, %Y", time()))."</td>
</tr>
</table>\n";

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

}

function render_footer($license=false) {

global $theme_width,$settings,$locale;

echo "</tr>\n</table>\n";

echo "<table align='center' table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='white-header'>".stripslashes($settings['footer'])."</td>
</tr>
</table>";
if ($license == false) {
                echo "\n";
   echo "\n";
}
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_news($subject, $news, $info) {

global $locale;
   
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>
$news
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='news-footer'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."</td>
<td align='right' class='news-footer'>\n";
if ($info['news_ext'] == "y") echo "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> &middot;\n";
if ($info['news_allow_comments']) echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> &middot;\n";
echo $info['news_reads'].$locale['044']."
<a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;vertical-align:middle;'></a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {

global $locale;

echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='news-footer'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."</td>
<td align='right' class='news-footer'>\n";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." &middot;\n";
echo $info['article_reads'].$locale['044']."
<a href='print.php?type=A&amp;item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='border:0px;vertical-align:middle;'></a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$title</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scapmain'>$title</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
</table>\n";

}

function opensidex($title,$open="on") {

$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>
<img src='".THEME."images/panel_$box_img.gif' alt='$box_img' name='b_$boxname' onclick=\"javascript:flipBox('$boxname')\">
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='side-body'>
<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";

}

function closesidex() {

echo "</div>
</td>
</tr>
</table>\n";

}

function tablebreak() {

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

}
?>




Bandyk taip.
2009 Sau. 10 21:01:57          5 žinutė iš 6
Spausdinti pranešimą
DEkuiiiii

2009 Sau. 10 21:01:37          6 žinutė iš 6
Spausdinti pranešimą
nėr už ką.merkia akį
Peršokti į forumą: