Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,955
Naujausias narys: Johny

Naujausi straipsniai

Paskutiniai nariai

Johny 1 savaitė
Reikalas 1 savaitė
Jaunelis 8 savaitės
lanis 8 savaitės
And2s 9 savaitės
Memento Mori14 savaitės
ozzWANTED14 savaitės
Quwqkibor16 savaitės
asirija20 savaitės
tomeem22 savaitės
weberiz25 savaitės
mRokass28 savaitės
kartoonas29 savaitės
iaescortsmap29 savaitės
grunskiz32 savaitės
Bruksnys32 savaitės
illusion32 savaitės
ordo33 savaitės
Jurgaila34 savaitės
originalcs1634 savaitės

Informacija:


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

Jaunelis
2024 Lie. 25 11:07:43
Oho vis dar veikia svetainė akinanti šypsen Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas šypsosi

And2s
2024 Lie. 17 19:07:04
2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija akinanti šypsen ačiū Ozz kad saugoji šitą kultūrinį reliktą šypsosi

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?

Š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
Kitoks adresas
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: Deiviux.eu Peržiūrų: 873      Spausdinti temą
2009 Spa. 7 18:10:38          1 žinutė iš 4
Spausdinti pranešimą
Sveiki, gal galite padaryti ant šio failo kuris yra V7 versija kad būtų ne viewpage.php?page_id=1 o viewpage.php?puslapis=1

Iš anksto dėkui.


<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: viewpage.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/header.php";
require_once INCLUDES."comments_include.php";
require_once INCLUDES."ratings_include.php";
include LOCALE.LOCALESET."custom_pages.php";

if (!isset($_GET['page_id']) || !isnum($_GET['page_id'])) { redirect("index.php"); }
if (!isset($_GET['rowstart']) || !isnum($_GET['rowstart'])) { $_GET['rowstart'] = 0; }

$cp_result = dbquery("SELECT * FROM ".DB_CUSTOM_PAGES." WHERE page_id='".$_GET['page_id']."'");
if (dbrows($cp_result)) {
   $cp_data = dbarray($cp_result);
   add_to_title($locale['global_200'].$cp_data['page_title']);
   opentable($cp_data['page_title']);
   if (checkgroup($cp_data['page_access'])) {
      ob_start();
      eval("?>".stripslashes($cp_data['page_content'])."<?php ");
      $custompage = ob_get_contents();
      ob_end_clean();
      if ($settings['tinymce_enabled']) {
         $custompage = explode("<!-- pagebreak -->", $custompage);
         $pagecount = count($custompage);
         echo $custompage[$_GET['rowstart']];
         if ($pagecount > 1) {
            echo "<div align='center' style='margin-top:5px;'>\n".makepagenav($_GET['rowstart'], 1, $pagecount, 3, FUSION_SELF."?page_id=".$_GET['page_id']."&amp;")."\n</div>\n";
         }
      } else {
         echo $custompage;
      }
   } else {
      echo "<div style='text-align:center'><br />\n".$locale['400']."\n<br /><br /></div>\n";
   }
} else {
   add_to_title($locale['global_200'].$locale['401']);
   opentable($locale['401']);
   echo "<div style='text-align:center'><br />\n".$locale['402']."\n<br /><br /></div>\n";
}
closetable();
if (dbrows($cp_result) && checkgroup($cp_data['page_access'])) {
   if ($cp_data['page_allow_comments']) { showcomments("C", DB_CUSTOM_PAGES, "page_id", $_GET['page_id'],FUSION_SELF."?page_id=".$_GET['page_id']); }
   if ($cp_data['page_allow_ratings']) { showratings("C", $_GET['page_id'], FUSION_SELF."?page_id=".$_GET['page_id']); }
}

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





2009 Spa. 7 18:10:06          2 žinutė iš 4
Spausdinti pranešimą
Bandyk visur šiame faile kur yra page_id pakeisti į puslapis. šypsosi
2009 Spa. 7 18:10:30          3 žinutė iš 4
Spausdinti pranešimą
Bandžiau - nėjo.

2009 Spa. 7 18:10:57          4 žinutė iš 4
Spausdinti pranešimą
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: viewpage.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/header.php";
require_once INCLUDES."comments_include.php";
require_once INCLUDES."ratings_include.php";
include LOCALE.LOCALESET."custom_pages.php";
$page_id = $_GET['puslapis'];
if (!isset($page_id) || !isnum($page_id)) { redirect("index.php"); }
if (!isset($_GET['rowstart']) || !isnum($_GET['rowstart'])) { $_GET['rowstart'] = 0; }

$cp_result = dbquery("SELECT * FROM ".DB_CUSTOM_PAGES." WHERE page_id='".$page_id."'");
if (dbrows($cp_result)) {
   $cp_data = dbarray($cp_result);
   add_to_title($locale['global_200'].$cp_data['page_title']);
   opentable($cp_data['page_title']);
   if (checkgroup($cp_data['page_access'])) {
      ob_start();
      eval("?>".stripslashes($cp_data['page_content'])."<?php ");
      $custompage = ob_get_contents();
      ob_end_clean();
      if ($settings['tinymce_enabled']) {
         $custompage = explode("<!-- pagebreak -->", $custompage);
         $pagecount = count($custompage);
         echo $custompage[$_GET['rowstart']];
         if ($pagecount > 1) {
            echo "<div align='center' style='margin-top:5px;'>\n".makepagenav($_GET['rowstart'], 1, $pagecount, 3, FUSION_SELF."?page_id=".$page_id."&amp;")."\n</div>\n";
         }
      } else {
         echo $custompage;
      }
   } else {
      echo "<div style='text-align:center'><br />\n".$locale['400']."\n<br /><br /></div>\n";
   }
} else {
   add_to_title($locale['global_200'].$locale['401']);
   opentable($locale['401']);
   echo "<div style='text-align:center'><br />\n".$locale['402']."\n<br /><br /></div>\n";
}
closetable();
if (dbrows($cp_result) && checkgroup($cp_data['page_access'])) {
   if ($cp_data['page_allow_comments']) { showcomments("C", DB_CUSTOM_PAGES, "page_id", $page_id,FUSION_SELF."?puslapis=".$page_id); }
   if ($cp_data['page_allow_ratings']) { showratings("C", $page_id, FUSION_SELF."?puslapis=".$page_id); }
}

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






http://androider.info/
Peršokti į forumą: