Pereiti prie turinio

tadzius

Patvirtinti nariai
  • Pranešimai

    170
  • Užsiregistravo

  • Lankėsi

  • Atsiliepimai

    100%

tadzius Pranešimai

  1. As kai kam nors padedu isspresti, visus klausimus/atsakymus sumetu i puslapi. Galiu pasakyt, kad 9 is 10 sakanciu, kad neranda atsakymu, yra pasirinke koki nors FIXED limit quiza ir panasiai.

    As rinkausi NL ir vistiek ats neradau. Klausimai girdejau naujai generuojami ir, kaip pastebejau, sukasi daugmaz tie patys (vienam accoutui), jei neislaikai quizo. Siaip jei reikia kam pagalbos - rasykit PM...

  2. Sveiki, jeigu kas išmano ir nesunku, nueikite į www.srosi.com ir Kontaktuose nusiūskite žinutę. Ją nusiunčia, bet man meta klaidų, kodėl?

     

    Štai scripto kodas:

     

    <?php
    
    $gavejas = "[email protected]";
    
    $id = $_GET['id'];
    $name_duomenys = $_POST['name_duomenys'];
    $email_duomenys = $_POST['email_duomenys'];
    $www_duomenys = $_POST['www_duomenys'];
    $tema_duomenys = $_POST['tema_duomenys'];
    $laiskas_duomenys = $_POST['laiskas_duomenys'];
    $ip = $_SERVER["REMOTE_ADDR"];
    
    ?>
    <html>
    <head>
    <meta http-equiv="Content-Language" content="lt">
    <title>Kontaktai</title>
    </head>
    <body link="#000000" vlink="#000000" alink="#000000" topmargin="0" leftmargin="0" bgcolor="#FFFFFF">
    <?
    if ($id == "")
    {
    $fp = fopen ("ip.txt", "w+");
    fwrite ($fp, "");
    fclose ($fp);
    ?>
    <div align="center">
    <center>
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="347" id="AutoNumber1" height="0">
    <tr>
    <td width="347" style="border-style: none; border-width: medium" align="center">
    <font size="1" face="Verdana">   </font>
    </td>
    </tr>
    <tr>
    <form method="POST" action="<? print"$PHP_SELF?id=email_funkicja"; ?>">
    <td width="347" style="border-style: none; border-width: medium" align="center">
    <table border="1" cellpadding="0" style="border-collapse: collapse" bordercolor="#C0C0C0" width="100%" height="1" bgcolor="#FBFBFB" cellspacing="0">
    <tr>
    <td width="100%" valign="middle" height="1" align="right" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium; border-top-style: solid; border-top-width: 1; border-bottom-style: none; border-bottom-width: medium" colspan="2">
    <font face="Verdana" style="font-size: 5pt"> </font></td>
    </tr>
    <tr>
    <td width="48%" valign="middle" height="1" align="right" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium">
    <span lang="lt"><font size="1" face="Verdana"> Jūsų vardas:</font></span><font color="#FF0000" size="1" face="Verdana">  
    </font></td>
    <td width="52%" valign="top" height="1" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium">
    <input type="text" name="name_duomenys" size="30" style="font-family: Verdana; font-size: 10px; color: #000000"></td>
    </tr>
    <tr>
    <td width="48%" valign="middle" height="1" align="right" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium">
    <font face="Verdana"><span lang="lt"><font size="1"> El. paštas</font></span></font><span lang="lt"><font size="1" face="Verdana">:</font></span><font color="#FF0000" size="1" face="Verdana">  
    </font></td>
    <td width="52%" valign="top" height="1" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium">
    <input type="text" name="email_duomenys" size="30" style="font-family: Verdana; font-size: 10px; color: #000000"></td>
    </tr>
    <tr>
    <td width="48%" valign="middle" height="1" align="right" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium"><span lang="lt"><font size="1" face="Verdana">  
    </font></span></td>
    </tr>
    <tr>
    <td width="48%" valign="middle" height="1" align="right" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium">
    <span lang="lt"><font size="1" face="Verdana"> Tema:</font></span><font color="#FF0000" size="1" face="Verdana">  
    </font></td>
    <td width="52%" valign="top" height="1" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium">
    <select size="1" name="tema_duomenys" style="font-family: Verdana; font-size: 10px">
    <option>Klausimas</option>
    <option>Užsakymas</option>
    <option>Pasiūlymas</option>
    <option>Kita</option>
    </select></td>
    </tr>
    <tr>
    <td width="100%" valign="middle" height="19" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" colspan="2">
    <font face="Verdana" size="1">    Laiškas</font><span lang="lt"><font size="1" face="Verdana">:</font></span></td>
    </tr>
    <tr>
    <td width="100%" colspan="2" height="71" style="border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1">
    <p style="margin-top: 0; margin-bottom: 0" align="center">
    <font size="1" face="Verdana">
    <textarea rows="7" name="laiskas_duomenys" cols="62" style="color: #000000; font-family: Verdana; font-size: 10px"></textarea> </font> </p>
    <p style="margin-top: 0; margin-bottom: 0" align="center"><font size="1" face="Verdana">
    <INPUT type=submit value=" Siūsti " style="font-family: Verdana; font-size: 10px; color: #000000">    
    <INPUT type=reset value=" Valyti " style="font-family: Verdana; font-size: 10px; color: #000000"></font></p>
    <p style="margin-top: 0; margin-bottom: 0" align="center">
    <font face="Verdana" style="font-size: 2pt"> </font></p>
    <p style="margin-top: 0; margin-bottom: 0" align="center">
    <font face="Verdana" style="font-size: 2pt"> </font></p>
    </td>
    </tr>
    </table>
    </td>
    </table>
    </center>
    </div>
    <?
    }
    
    if ($id == "email_funkicja")
    {
    $msg = "Įvyko klaida!";
    $ip = $REMOTE_ADDR;
    $log = 'ip.txt';
    $bytes = 9999999999999;
    $arr = file($log, $bytes);
    
    list($ip,$date) = split(" ",$arr[0]);
    $deltime = date("H");
    $deltime = $deltime - 1;
    if($date == $deltime)
    {
    $h = fopen($log, "w+");
    fwrite($h, "");
    }
    $arr = file($log, $bytes);
    
    if(count($arr) != 0)
    {
    	for($i = 0; $i < count($arr); $i++)
    	{
    		list($ip,$date) = split(" ",$arr[$i]);
    
    		if($ip == $REMOTE_ADDR && str_replace("\r\n","",$date) == date("H"))
    		{
    			$msg = "Daugiau laiškų šį kartą išsiūsti negalite.";
    		}
    		else
    		{
    			$input = $REMOTE_ADDR . " " . date("H") . "\r\n";
    			$handle = fopen($log,"a");
    			fwrite($handle,$input);
    			fclose($handle);
    		}
    	}
    }
    else
    {
    	$input = $REMOTE_ADDR . " " . date("H") . "\r\n";
    	$handle = fopen($log,"a");
    	fwrite($handle,$input);
    	fclose($handle);
    }
    
    if ($laiskas_duomenys == "")
    {
    	$msg = "Klaida. Jūs neužpildėte laiško laukelio.";
    }
    if ($tema_duomenys == "")
    {
    	$msg = "Klaida. Jūs neužpildëte temos laukelio.";
    }
    if ($email_duomenys == "")
    {
    	$msg = "Klaida. Jūs neužpildėte el.pašto laukelio.";
    }
    if ($name_duomenys == "")
    {
    	$msg = "Klaida. Jūs neužpildėte vardo laukelio.";
    }
    if ($msg == "Įvyko klaida!")
    {
    	mail ("$gavejas", "$tema_duomenys", "\n$laiskas_duomenys\n\n\n$name_duomenys ($email_duomenys $www_duomenys)");
    	$msg = "Jūsų laiškas išsiūstas. Ačiū.";
    }
    ?>
    <div align="center">
    <center>
    <table border="1" cellpadding="2" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="327" id="AutoNumber1" height="142">
    <tr>
    <td width="323" style="border-style: none; border-width: medium" height="24"> 
    </td>
    </tr>
    <tr>
    <td width="323" style="border-style: none; border-width: medium" height="2">
    <span style="font-size: 2pt">                          
    </span></td>
    </tr>
    <tr>
    <td width="323" style="border-style: none; border-width: medium" height="79">
    <p align="center"><div align="center">
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#C0C0C0" width="100%" bgcolor="#FBFBFB" height="97">
    <tr>
    <td width="100%" height="97">
    <p align="center"><font size="1" face="Verdana"><? print"$msg"; ?></font></td>
    </tr>
    </table>
    </div></td>
    </tr>
    <tr>
    <td width="323" style="border-style: none; border-width: medium" height="13">
    <hr color="#C0C0C0" size="1"></td>
    </tr>
    </table></center>
    </div>
    <?
    }
    ?>
    </body>
    </html>
    

     

    Iš anksto ačiū už pagalbą.

  3. jega.. gmail nebekrauna, skype nekrauna, dc++ trys hubai veikia :) paguoda - torrent'ai veikia.. gyvenu kaune, man 04 04 baigiasi sutartis, ir jau rytoj as jiem paskambines pasakysiu kas siena ravi b***. as manau, dabar kaune isirengti labiausiai apsimoketu mikrovisata ar meganet. kaip jus galvojat? oj bus masiskas keitimas...

×
×
  • Pasirinkite naujai kuriamo turinio tipą...