Navigacija

Vartotojų tinkle

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

Registruoti nariai: 25,956
Naujausias narys: saulyzas

Naujausi straipsniai

Paskutiniai nariai

saulyzas23:17:00
MaFetas 3 dienos
TOMIJUS 1 savaitė
ozzWANTED 1 savaitė
Reikalas10 savaitės
Jaunelis16 savaitės
lanis16 savaitės
And2s17 savaitės
Memento Mori22 savaitės
Quwqkibor24 savaitės
asirija28 savaitės
tomeem30 savaitės
weberiz34 savaitės
mRokass36 savaitės
kartoonas37 savaitės
grunskiz40 savaitės
Bruksnys40 savaitės
illusion40 savaitės
ordo41 savaitės
Jurgaila42 savaitės

Informacija:


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

MaFetas
2024 Lap. 13 22:11:57
hey how, geras dar veikiantis saitas?

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

Š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
naujas register.php pakeistas Ne Panele.
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai

Autorius: ire Peržiūrų: 1833      Spausdinti temą
2009 Lap. 23 13:11:26          1 žinutė iš 6
Spausdinti pranešimą
Sveiki tai kagi, biški pasidarbavau ir visą register.php pakeičiau ant php fusion v6, tik nesuprantu kaip padaryti, kad jis būtu ne šone(left) o centre. Štai duodu kodą, pataisykit :D
<?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
+----------------------------------------------------*/
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";
include LOCALE.LOCALESET."register.php";
include LOCALE.LOCALESET."user_fields.php";

      if (iMEMBER){

      } else {
include LOCALE.LOCALESET."register.php";
if ($settings['enable_registration']) {

if (isset($activate)) {
   if (!preg_match("/^[0-9a-z]{32}$/", $activate)) fallback("index.php");
   $result = dbquery("SELECT * FROM ".$db_prefix."new_users WHERE user_code='$activate'");
   if (dbrows($result) != 0) {
      $data = dbarray($result);
      $user_info = unserialize($data['user_info']);
      $activation = $settings['admin_activation'] == "1" ? "2" : "0";
      $result = dbquery("INSERT INTO ".$db_prefix."users (user_name, user_password, user_email, user_hide_email, user_location, user_birthdate, user_aim, user_icq, user_msn, user_yahoo, user_web, user_theme, user_offset, user_avatar, user_sig, user_posts, user_joined, user_lastvisit, user_ip, user_rights, user_groups, user_level, user_status) VALUES('".$user_info['user_name']."', '".$user_info['user_password']."', '".$user_info['user_email']."', '".$user_info['user_hide_email']."', '', '0000-00-00', '', '', '', '', '', 'Default', '0', '', '', '0', '".time()."', '0', '".USER_IP."', '', '', '101', '$activation')");
      $result = dbquery("DELETE FROM ".$db_prefix."new_users WHERE user_code='$activate'");   
      openside($locale['401']);
      if ($settings['admin_activation'] == "1") {
         echo "<center><br>\n".$locale['455']."<br><br>Administratorius per trumpą laiką aktyvuos jūsų prisijungimą.<br><br>\n</center>\n";
      } else {
         echo "<center><br>\n".$locale['455']."<br><br>Dabar galite prisijungti.<br><br>\n</center>\n";
      }
      closeside();
   } else {
      fallback("index.php");
   }
} else if (isset($_POST['register'])) {
   $error = "";
   $username = stripinput(trim(eregi_replace(" +", " ", $_POST['username'])));
   $email = stripinput(trim(eregi_replace(" +", "", $_POST['email'])));
   $password1 = stripinput(trim(eregi_replace(" +", "", $_POST['password1'])));
   
   if ($username == "" || $password1 == "" || $email == "") $error .= $locale['402']."<br>\n";
   
   if (!preg_match("/^[-0-9A-Z_@\s]+$/i", $username)) $error .= $locale['403']."<br>\n";
   
   if (preg_match("/^[0-9A-Z@]{6,20}$/i", $password1)) {
      if ($password1 != $_POST['password2']) $error .= $locale['404']."<br>\n";
   } else {
      $error .= $locale['405']."<br>\n";
   }
 
   if (!preg_match("/^[-0-9A-Z_\.]{1,50}@([-0-9A-Z_\.]+\.){1,50}([0-9A-Z]){2,4}$/i", $email)) {
      $error .= $locale['406']."<br>\n";
   }
   
   $email_domain = substr(strrchr($email, "@"), 1);
   $result = dbquery("SELECT * FROM ".$db_prefix."blacklist WHERE blacklist_email='".$email."' OR blacklist_email='$email_domain'");
   if (dbrows($result) != 0) $error = $locale['411']."<br>\n";
   
   $result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_name='$username'");
   if (dbrows($result) != 0) $error = $locale['407']."<br>\n";
   
   $result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_email='".$email."'");
   if (dbrows($result) != 0) $error = $locale['408']."<br>\n";
   
   if ($settings['email_verification'] == "1") {
      $result = dbquery("SELECT * FROM ".$db_prefix."new_users");
      while ($new_users = dbarray($result)) {
         $user_info = unserialize($new_users['user_info']);
         if ($new_users['user_email'] == $email) { $error = $locale['409']."<br>\n"; }
         if ($user_info['user_name'] == $username) { $error = $locale['407']."<br>\n"; break; }
      }
   }
   
   if ($settings['display_validation'] == "1") {
      if (!check_captcha($_POST['captcha_encode'], $_POST['captcha_code'])) {
         $error .= $locale['410']."<br />\n";
      }
   }
   
   $user_hide_email = isNum($_POST['user_hide_email']) ? $_POST['user_hide_email'] : "1";
   
   if ($settings['email_verification'] == "0") {
      $user_location = isset($_POST['user_location']) ? stripinput(trim($_POST['user_location'])) : "";
      if ($_POST['user_month'] != 0 && $_POST['user_day'] != 0 && $_POST['user_year'] != 0) {
         $user_birthdate = (isNum($_POST['user_year']) ? $_POST['user_year'] : "0000")
         ."-".(isNum($_POST['user_month']) ? $_POST['user_month'] : "00")
         ."-".(isNum($_POST['user_day']) ? $_POST['user_day'] : "00");
      } else {
         $user_birthdate = "0000-00-00";
      }
      $user_aim = isset($_POST['user_aim']) ? stripinput(trim($_POST['user_aim'])) : "";
      $user_icq = isset($_POST['user_icq']) ? stripinput(trim($_POST['user_icq'])) : "";
      $user_msn = isset($_POST['user_msn']) ? stripinput(trim($_POST['user_msn'])) : "";
      $user_yahoo = isset($_POST['user_yahoo']) ? stripinput(trim($_POST['user_yahoo'])) : "";
      $user_web = isset($_POST['user_web']) ? stripinput(trim($_POST['user_web'])) : "";
      $user_theme = stripinput($_POST['user_theme']);
      $user_offset = is_numeric($_POST['user_offset']) ? $_POST['user_offset'] : "0";
      $user_sig = isset($_POST['user_sig']) ? stripinput(trim($_POST['user_sig'])) : "";
   }
   if ($error == "") {
      if ($settings['email_verification'] == "1") {
         require_once INCLUDES."sendmail_include.php";
         mt_srand((double)microtime()*1000000); $salt = "";
         for ($i=0;$i<=7;$i++) { $salt .= chr(rand(97, 122)); }
         $user_code = md5($email.$salt);
         $activation_url = $settings['siteurl']."register.php?activate=".$user_code;
         if (sendemail($username,$email,$settings['siteusername'],$settings['siteemail'],$locale['449'], $locale['450'].$activation_url)) {
            $user_info = serialize(array(
               "user_name" => $username,
               "user_password" => md5(md5($password1)),
               "user_email" => $email,
               "user_hide_email" => isNum($_POST['user_hide_email']) ? $_POST['user_hide_email'] : "1"
            ));
            $result = dbquery("INSERT INTO ".$db_prefix."new_users (user_code, user_email, user_datestamp, user_info) VALUES('$user_code', '".$email."', '".time()."', '$user_info')");
            openside($locale['400']);
            echo "<center><br>\n".$locale['454']."<br><br>\n</center>\n";
            closeside();
         } else {
            openside("Registracija nutraukta");
            echo "<center><br>\n".$locale['457']."<br><br>\n</center>\n";
            closeside();
         }
      } else {
         $activation = $settings['admin_activation'] == "1" ? "2" : "0";
         $result = dbquery("INSERT INTO ".$db_prefix."users (user_name, user_password, user_email, user_hide_email, user_location, user_birthdate, user_aim, user_icq, user_msn, user_yahoo, user_web, user_theme, user_offset, user_avatar, user_sig, user_posts, user_joined, user_lastvisit, user_ip, user_rights, user_groups, user_level, user_status) VALUES('$username', '".md5(md5($password1))."', '".$email."', '$user_hide_email', '$user_location', '$user_birthdate', '$user_aim', '$user_icq', '$user_msn', '$user_yahoo', '$user_web', '$user_theme', '$user_offset', '', '$user_sig', '0', '".time()."', '0', '".USER_IP."', '', '', '101', '$activation')");
         openside($locale['400']);
         if ($settings['admin_activation'] == "1") {
            echo "<center><br>\n".$locale['451']."<br><br>\n".$locale['453']."<br><br>\n</center>\n";
         } else {
            echo "<center><br>\n".$locale['451']."<br><br>Dabar galite prisijungti.<br><br>\n</center>\n";
         }
         closeside();
      }
   } else {
      openside("Registracija nutraukta");
      echo "<center><br>\n".$locale['458']."<br><br>\n$error<br>\n<a href='".FUSION_SELF."' class='side'>".$locale['459']."</a></div></br>\n";
      closeside();
   }
} else {
   if ($settings['email_verification'] == "0") {
      $theme_files = makefilelist(THEMES, ".|..", true, "folders");
      array_unshift($theme_files, "Default");
      $offset_list = "";
      for ($i=-13;$i<17;$i++) {
         if ($i > 0) { $offset="+".$i; } else { $offset=$i; }
         $offset_list .= "<option".($offset == "0" ? " selected" : "").">$offset</option>\n";
      }
   }
   openside("Greita registracija");
   echo "<center>".$locale['500']."\n";
   if ($settings['email_verification'] == "1") echo $locale['501']."\n";
   if ($settings['email_verification'] == "1") echo "\n".$locale['503'];
   echo "</center><br>
<table align='center' cellpadding='0' cellspacing='0'>
<form name='inputform' method='post' action='".FUSION_SELF."' onSubmit='return ValidateForm(this)'>
<tr>

<td class='reg'><span style='color:silver'>Vartotojo vardas:</span><span style='color:#ff0000'>*</span><br><input type='text' name='username' maxlength='30' class='textbox' style='width:150px;'></td>
</tr>
<tr>
<td class='reg'><span style='color:silver'>Slaptazodis:</span><span style='color:#ff0000'>*</span><br><input type='password' name='password1' maxlength='20' class='textbox' style='width:150px;'></td>
</tr>
<tr>
<td class='reg'><span style='color:silver'>Pakartoti saptazodi:</span><span style='color:#ff0000'>*</span><br><input type='password' name='password2' maxlength='20' class='textbox' style='width:150px;'></td>
</tr>
<tr>
<td class='reg'><span style='color:silver'>E-pasto adresas:</span><span style='color:#ff0000'>*</span><br><input type='text' name='email' maxlength='100' class='textbox' style='width:150px;'></td>
</tr>\n";
   if ($settings['display_validation'] == "1") {
      echo "<tr>\n<td class='reg'><span style='color:silver'>Kodas:</span><br><center><span style='color:silver'>";
      echo make_captcha();
      echo "</span></center></td>
</tr>
<tr>
<td class='reg'><span style='color:silver'>Iveskite koda:</span><span style='color:#ff0000'>*</span><br><center><input type='text' name='captcha_code' class='textbox' style='width:150px'></center></td>
</tr>\n";
   }
   echo "<tr>
<td align='center' colspan='2'><br>
<input type='submit' name='register' value='Registruotis' class='button'>
</td>
</tr>
</form>
</table>";
   closeside();
   echo "<script language='JavaScript'>
function ValidateForm(frm) {
   if (frm.username.value==\"\") {
      alert(\"Praaom ivesti vartotojo varda.\");
      return false;
   }
   if (frm.password1.value==\"\") {
      alert(\"Prasom ivesti slaptazodi.\");
      return false;
   }
   if (frm.email.value==\"\") {
      alert(\"Prasom ivesti e-pasto adresa.\");
      return false;
   }
}
</script>\n";
}

} else {
   openside("Registracija");
   echo "<center><br><span style='color:silver'>Registracijos sistema laikinai isjungta.</span><br><br>\n</center>\n";
   closeside();
}

      }
?>




arba
atsiųskite ir pataisykite.
www.jpeg.lt/siuntiniai/register.rar,

Ačiū, kas padės ieškau pagalbos i ne orgumentu. :@

2009 Lap. 23 13:11:00          2 žinutė iš 6
Spausdinti pranešimą
Biški plačiau apie tai ka tu padariai šypsosi

2009 Lap. 23 13:11:07          3 žinutė iš 6
Spausdinti pranešimą
Ir išjunk smailus. šypsosi

www.Skanumas.lt - Receptai, Kulinarija, konditerija
www.syntax.lt
2009 Lap. 23 13:11:13          4 žinutė iš 6
Spausdinti pranešimą
išjungiau smailus neveikia, o aš noriu, kad šitas visas skriptas būtų centre pvz kai įmesiu į php fusion svetainę, nes dabar jis kairėje pusėje ir gadina vaizdą. Kai paspaudi registruotis
2009 Lap. 23 14:11:13          5 žinutė iš 6
Spausdinti pranešimą
<?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
+----------------------------------------------------*/
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";
include LOCALE.LOCALESET."register.php";
include LOCALE.LOCALESET."user_fields.php";
require_once "side_left.php";

      if (iMEMBER){

      } else {
include LOCALE.LOCALESET."register.php";
if ($settings['enable_registration']) {

if (isset($activate)) {
   if (!preg_match("/^[0-9a-z]{32}$/", $activate)) fallback("index.php");
   $result = dbquery("SELECT * FROM ".$db_prefix."new_users WHERE user_code='$activate'");
   if (dbrows($result) != 0) {
      $data = dbarray($result);
      $user_info = unserialize($data['user_info']);
      $activation = $settings['admin_activation'] == "1" ? "2" : "0";
      $result = dbquery("INSERT INTO ".$db_prefix."users (user_name, user_password, user_email, user_hide_email, user_location, user_birthdate, user_aim, user_icq, user_msn, user_yahoo, user_web, user_theme, user_offset, user_avatar, user_sig, user_posts, user_joined, user_lastvisit, user_ip, user_rights, user_groups, user_level, user_status) VALUES('".$user_info['user_name']."', '".$user_info['user_password']."', '".$user_info['user_email']."', '".$user_info['user_hide_email']."', '', '0000-00-00', '', '', '', '', '', 'Default', '0', '', '', '0', '".time()."', '0', '".USER_IP."', '', '', '101', '$activation')");
      $result = dbquery("DELETE FROM ".$db_prefix."new_users WHERE user_code='$activate'");   
      openside($locale['401']);
      if ($settings['admin_activation'] == "1") {
         echo "<center><br>\n".$locale['455']."<br><br>Administratorius per trumpą laiką aktyvuos jūsų prisijungimą.<br><br>\n</center>\n";
      } else {
         echo "<center><br>\n".$locale['455']."<br><br>Dabar galite prisijungti.<br><br>\n</center>\n";
      }
      closeside();
   } else {
      fallback("index.php");
   }
} else if (isset($_POST['register'])) {
   $error = "";
   $username = stripinput(trim(eregi_replace(" +", " ", $_POST['username'])));
   $email = stripinput(trim(eregi_replace(" +", "", $_POST['email'])));
   $password1 = stripinput(trim(eregi_replace(" +", "", $_POST['password1'])));
   
   if ($username == "" || $password1 == "" || $email == "") $error .= $locale['402']."<br>\n";
   
   if (!preg_match("/^[-0-9A-Z_@\s]+$/i", $username)) $error .= $locale['403']."<br>\n";
   
   if (preg_match("/^[0-9A-Z@]{6,20}$/i", $password1)) {
      if ($password1 != $_POST['password2']) $error .= $locale['404']."<br>\n";
   } else {
      $error .= $locale['405']."<br>\n";
   }
 
   if (!preg_match("/^[-0-9A-Z_\.]{1,50}@([-0-9A-Z_\.]+\.){1,50}([0-9A-Z]){2,4}$/i", $email)) {
      $error .= $locale['406']."<br>\n";
   }
   
   $email_domain = substr(strrchr($email, "@"), 1);
   $result = dbquery("SELECT * FROM ".$db_prefix."blacklist WHERE blacklist_email='".$email."' OR blacklist_email='$email_domain'");
   if (dbrows($result) != 0) $error = $locale['411']."<br>\n";
   
   $result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_name='$username'");
   if (dbrows($result) != 0) $error = $locale['407']."<br>\n";
   
   $result = dbquery("SELECT * FROM ".$db_prefix."users WHERE user_email='".$email."'");
   if (dbrows($result) != 0) $error = $locale['408']."<br>\n";
   
   if ($settings['email_verification'] == "1") {
      $result = dbquery("SELECT * FROM ".$db_prefix."new_users");
      while ($new_users = dbarray($result)) {
         $user_info = unserialize($new_users['user_info']);
         if ($new_users['user_email'] == $email) { $error = $locale['409']."<br>\n"; }
         if ($user_info['user_name'] == $username) { $error = $locale['407']."<br>\n"; break; }
      }
   }
   
   if ($settings['display_validation'] == "1") {
      if (!check_captcha($_POST['captcha_encode'], $_POST['captcha_code'])) {
         $error .= $locale['410']."<br />\n";
      }
   }
   
   $user_hide_email = isNum($_POST['user_hide_email']) ? $_POST['user_hide_email'] : "1";
   
   if ($settings['email_verification'] == "0") {
      $user_location = isset($_POST['user_location']) ? stripinput(trim($_POST['user_location'])) : "";
      if ($_POST['user_month'] != 0 && $_POST['user_day'] != 0 && $_POST['user_year'] != 0) {
         $user_birthdate = (isNum($_POST['user_year']) ? $_POST['user_year'] : "0000")
         ."-".(isNum($_POST['user_month']) ? $_POST['user_month'] : "00")
         ."-".(isNum($_POST['user_day']) ? $_POST['user_day'] : "00");
      } else {
         $user_birthdate = "0000-00-00";
      }
      $user_aim = isset($_POST['user_aim']) ? stripinput(trim($_POST['user_aim'])) : "";
      $user_icq = isset($_POST['user_icq']) ? stripinput(trim($_POST['user_icq'])) : "";
      $user_msn = isset($_POST['user_msn']) ? stripinput(trim($_POST['user_msn'])) : "";
      $user_yahoo = isset($_POST['user_yahoo']) ? stripinput(trim($_POST['user_yahoo'])) : "";
      $user_web = isset($_POST['user_web']) ? stripinput(trim($_POST['user_web'])) : "";
      $user_theme = stripinput($_POST['user_theme']);
      $user_offset = is_numeric($_POST['user_offset']) ? $_POST['user_offset'] : "0";
      $user_sig = isset($_POST['user_sig']) ? stripinput(trim($_POST['user_sig'])) : "";
   }
   if ($error == "") {
      if ($settings['email_verification'] == "1") {
         require_once INCLUDES."sendmail_include.php";
         mt_srand((double)microtime()*1000000); $salt = "";
         for ($i=0;$i<=7;$i++) { $salt .= chr(rand(97, 122)); }
         $user_code = md5($email.$salt);
         $activation_url = $settings['siteurl']."register.php?activate=".$user_code;
         if (sendemail($username,$email,$settings['siteusername'],$settings['siteemail'],$locale['449'], $locale['450'].$activation_url)) {
            $user_info = serialize(array(
               "user_name" => $username,
               "user_password" => md5(md5($password1)),
               "user_email" => $email,
               "user_hide_email" => isNum($_POST['user_hide_email']) ? $_POST['user_hide_email'] : "1"
            ));
            $result = dbquery("INSERT INTO ".$db_prefix."new_users (user_code, user_email, user_datestamp, user_info) VALUES('$user_code', '".$email."', '".time()."', '$user_info')");
            openside($locale['400']);
            echo "<center><br>\n".$locale['454']."<br><br>\n</center>\n";
            closeside();
         } else {
            openside("Registracija nutraukta");
            echo "<center><br>\n".$locale['457']."<br><br>\n</center>\n";
            closeside();
         }
      } else {
         $activation = $settings['admin_activation'] == "1" ? "2" : "0";
         $result = dbquery("INSERT INTO ".$db_prefix."users (user_name, user_password, user_email, user_hide_email, user_location, user_birthdate, user_aim, user_icq, user_msn, user_yahoo, user_web, user_theme, user_offset, user_avatar, user_sig, user_posts, user_joined, user_lastvisit, user_ip, user_rights, user_groups, user_level, user_status) VALUES('$username', '".md5(md5($password1))."', '".$email."', '$user_hide_email', '$user_location', '$user_birthdate', '$user_aim', '$user_icq', '$user_msn', '$user_yahoo', '$user_web', '$user_theme', '$user_offset', '', '$user_sig', '0', '".time()."', '0', '".USER_IP."', '', '', '101', '$activation')");
         openside($locale['400']);
         if ($settings['admin_activation'] == "1") {
            echo "<center><br>\n".$locale['451']."<br><br>\n".$locale['453']."<br><br>\n</center>\n";
         } else {
            echo "<center><br>\n".$locale['451']."<br><br>Dabar galite prisijungti.<br><br>\n</center>\n";
         }
         closeside();
      }
   } else {
      openside("Registracija nutraukta");
      echo "<center><br>\n".$locale['458']."<br><br>\n$error<br>\n<a href='".FUSION_SELF."' class='side'>".$locale['459']."</a></div></br>\n";
      closeside();
   }
} else {
   if ($settings['email_verification'] == "0") {
      $theme_files = makefilelist(THEMES, ".|..", true, "folders");
      array_unshift($theme_files, "Default");
      $offset_list = "";
      for ($i=-13;$i<17;$i++) {
         if ($i > 0) { $offset="+".$i; } else { $offset=$i; }
         $offset_list .= "<option".($offset == "0" ? " selected" : "").">$offset</option>\n";
      }
   }
   openside("Greita registracija");
   echo "<center>".$locale['500']."\n";
   if ($settings['email_verification'] == "1") echo $locale['501']."\n";
   if ($settings['email_verification'] == "1") echo "\n".$locale['503'];
   echo "</center><br>
<table align='center' cellpadding='0' cellspacing='0'>
<form name='inputform' method='post' action='".FUSION_SELF."' onSubmit='return ValidateForm(this)'>
<tr>

<td class='reg'><span style='color:silver'>Vartotojo vardas:</span><span style='color:#ff0000'>*</span><br><input type='text' name='username' maxlength='30' class='textbox' style='width:150px;'></td>
</tr>
<tr>
<td class='reg'><span style='color:silver'>Slaptazodis:</span><span style='color:#ff0000'>*</span><br><input type='password' name='password1' maxlength='20' class='textbox' style='width:150px;'></td>
</tr>
<tr>
<td class='reg'><span style='color:silver'>Pakartoti saptazodi:</span><span style='color:#ff0000'>*</span><br><input type='password' name='password2' maxlength='20' class='textbox' style='width:150px;'></td>
</tr>
<tr>
<td class='reg'><span style='color:silver'>E-pasto adresas:</span><span style='color:#ff0000'>*</span><br><input type='text' name='email' maxlength='100' class='textbox' style='width:150px;'></td>
</tr>\n";
   if ($settings['display_validation'] == "1") {
      echo "<tr>\n<td class='reg'><span style='color:silver'>Kodas:</span><br><center><span style='color:silver'>";
      echo make_captcha();
      echo "</span></center></td>
</tr>
<tr>
<td class='reg'><span style='color:silver'>Iveskite koda:</span><span style='color:#ff0000'>*</span><br><center><input type='text' name='captcha_code' class='textbox' style='width:150px'></center></td>
</tr>\n";
   }
   echo "<tr>
<td align='center' colspan='2'><br>
<input type='submit' name='register' value='Registruotis' class='button'>
</td>
</tr>
</form>
</table>";
   closeside();
   echo "<script language='JavaScript'>
function ValidateForm(frm) {
   if (frm.username.value==\"\") {
      alert(\"Praaom ivesti vartotojo varda.\");
      return false;
   }
   if (frm.password1.value==\"\") {
      alert(\"Prasom ivesti slaptazodi.\");
      return false;
   }
   if (frm.email.value==\"\") {
      alert(\"Prasom ivesti e-pasto adresa.\");
      return false;
   }
}
</script>\n";
}

} else {
   openside("Registracija");
   echo "<center><br><span style='color:silver'>Registracijos sistema laikinai isjungta.</span><br><br>\n</center>\n";
   closeside();
}

      }
require_once "side_right.php";
require_once "footer.php";

?>






http://itouch.lt - iBendruomenė.
2009 Lap. 23 15:11:07          6 žinutė iš 6
Spausdinti pranešimą
o dekui šitas veikia akinanti šypsen Paimsiu.
Peršokti į forumą: