Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Ieškau skripto, ar kaip čia pavadint.

Parašė Noyz· 2010 Bal. 10 13:04:01
#9

Padėkit : meta tokį.
Warning: include(local/Lithuanian/anketaLT.php) [function.include]: failed to open stream: No such file or directory in /home/varskenas/domains/cshata.net/public_html/anketa.php on line 7

Warning: include() [function.include]: Failed opening 'local/Lithuanian/anketaLT.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/varskenas/domains/cshata.net/public_html/anketa.php on line 7

anketa.php :

<?php
session_start();

require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";
include BASEDIR."local/Lithuanian/anketaLT.php";


if(iMEMBER){
$ip=getenv('REMOTE_ADDR'); 
$time=date("Y-m-d H:i:s");
$email=$userdata['user_email'];
$web=$userdata['user_web'];
$sk=$userdata['user_aim'];
// Gav&#235;jo ID pakeiskite pagal j&#251;sø poreikius. SuperAdminas da&#254;niausiai b&#251;na ID 1
$gavejoID = '1';
//MOD Created by Exz0sT`. Skype: marius-xp v.2.0

if(!$puslapis){
opentable ("".$locale['001']."");


echo "<br><br><br>
<br><br><center><h3>".$locale['002']."</h3><br></center><br>
";

echo "
<form name='siustiZem' method='post' action='anketa.php?puslapis=siusti'>

<font color='red'>*</font> <b>".$locale['004']."<b><br>
<input type='radio' name='tipas' value='banneris'> ".$locale['005']."

<br>
<input type='radio'
name='tipas' value='logo'> ".$locale['006']."

<br>
<input type='radio'
name='tipas' value='kita'> ".$locale['007']."


<table>
<tr><td>

</td>
<table border='0'>
<tr><td>
<font color='red'>*</font> <b>WEB Puslapis:</b> <i>(be http://)</i>
</td><td>
<input class='adresas' value='$web' onclick=\"this.value=''\"  name='WEB' type='text'>
</td></tr><tr><td>
<font color='red'>*</font> <b>El.Pa&#240;tas:</b>
</td><td>
<input type='text' value='$email' onclick=\"this.value=''\" name='emale' maxlength='35' class='style7' style='width:180px;'>
</td></tr><tr><td>
<font color='red'>*</font> <b>Skype ID:</b>
</td><td>
<input type='text' value='$sk' onclick=\"this.value=''\"  name='Skype' maxlength='15' class='style7' style='width:120px;'>
</td></tr>
<tr><td>
<font color='red'>*</font> <b>J&#251;sø IP:</b>
</td><td>
<input disabled='disabled' type='text' name='ip' value='$ip' maxlength='20' class='style7' style='width:120px;'>
</td></tr>
<tr><td>
<font color='red'>*</font> <b>".$locale['008']."</b> <h6>".$locale['009']."</h6>
</td>
<td><textarea name='info' class='style7' rows='5' cols='30' class='textbox'></textarea></td>
</td></tr><tr><td>
</tr><tr><td colspan='2' align='center'><br>
<img src='/includes/akneta_captcha/CaptchaSecurityImages.php?width=120&height=40&characters=5' /><br />
<label for='security_code'><font color='red'>*</font> Saugos kodas:<br></label><input id='security_code' name='security_code' type='text' /><br />
<form>
  <fieldset>
  <legend>Taisykl&#235;s:</legend><font color='red'>*</font> Pa&#254;ym&#235;tus laukelius, b&#251;tina &#225;vesti!
<br><br>".$locale['reikalavimai']."
</fieldset>
</form>
".$locale['010']."
<input type='checkbox' name='taip'><br>

<input type='submit' name='siusti'  style='width:70px' value='Si&#251;sti' class='button'><input type='reset' value='Atstatyti' class='button'></td></table><br>
</form>";
closetable();}


if($puslapis == 'siusti'){


if(($_SESSION['security_code'] == $_POST['security_code']) && (!empty($_SESSION['security_code'])) ) {
    unset($_SESSION['security_code']);
   } else {
      $err[]="<font color='red'><b>Neteisingas saugos kodas!</font></b>"; }
   if(empty($WEB)){ $err[]="Ne&#0303;vestas WEB Puslapis"; }
   if(empty($tipas)){ $err[]="Nepasirinktas tipas"; }
   if(empty($emale)){ $err[]="Ne&#0303;vestas El.Pa&#240;tas"; }
   if(empty($Skype)){ $err[]="Ne&#0303;vestas Skype ID"; }
   if(empty($info)){ $err[]="Ne&#0303;vesta Informacija"; }
   if(empty($taip)){ $err[]="J&#251;s nesutikote, kad atitinkate reikalavimus";

}

   
   if (!$err){ 
   $message = '
<b>Puslapis:</b> <b><a href="http://'.$WEB.'">'.$WEB.'</a></b>\n
<b>El. Pa&#240;tas:</b> <b><a href="mailto:'.$emale.'">'.$emale.'</a></b>\n
<b>Skype ID:</b> <b><a href="skype:'.$Skype.'?chat">'.$Skype.'</a></b>\n
<b>Siunt&#235;jo IP:</b> '.$ip.'\n
<b>Tipas:</b> '.$tipas.'\n
<b>Informacija:</b> '.$info.'\n
<b>Laikas:</b> '.$time.'\n ';


   dbquery("INSERT INTO ".$db_prefix."messages (message_to, message_from, message_subject, message_message, message_smileys, message_read, message_datestamp, message_folder) VALUES('".$gavejoID."','".$userdata['user_id']."','U&#254;pildyta anketa!','".$message."','0','0','".time()."','0')");
   
  opentable ("".$locale['013']."");
   echo "<fieldset><legend>Anketa i&#240;siusta s&#235;kmingai:</legend><br><br><center><img src='".BASEDIR."images/anketa/sekmingai.png' alt='S&#235;kmingai'><br><br><br>".$locale['012']."<br>[ <a href='".BASEDIR."index.php'>Sugry&#254;ti &#225; pagrindidn&#225; puslap&#225;</a> ]<center></fieldset><br><br><br></span>";
   closetable();
   
   } else {
opentable ("".$locale['014']."");

    for ($i=0;$i<count($err);$i++)  {

     echo "-".$err[$i]."<br/>";           }

     echo '<br/>[ <a href="anketa.php?"><b> Gri&#382;ti</b></a> ]';
   closetable();

   }

}
}else{
redirect(BASEDIR.'index.php');}



require_once "side_right.php";

require_once "footer.php";

?>



Redagavo WyPuk· 2010 Bal. 10 13:04:51