Пример #1
0
<a href="#" onClick="wr('w4');return false"><img src="pics/w4.gif" width="11" height="14" vspace="6" border="0" alt=""></a>
<a href="#" onClick="wr('s4');return false"><img src="pics/s4.gif" width="11" height="14" vspace="6" border="0" alt=""></a>
<a href="#" onClick="wr('w5');return false"><img src="pics/w5.gif" width="11" height="14" vspace="6" border="0" alt=""></a>
<a href="#" onClick="wr('s5');return false"><img src="pics/s5.gif" width="11" height="14" vspace="6" border="0" alt=""></a>
<a href="#" onClick="wr('w6');return false"><img src="pics/w6.gif" width="11" height="14" vspace="6" border="0" alt=""></a>
<a href="#" onClick="wr('s6');return false"><img src="pics/s6.gif" width="11" height="14" vspace="6" border="0" alt=""></a>
<a href="#" onClick="wr('w7');return false"><img src="pics/w7.gif" width="11" height="14" vspace="6" border="0" alt=""></a>
<a href="#" onClick="wr('s7');return false"><img src="pics/s7.gif" width="11" height="14" vspace="6" border="0" alt=""></a>
</td></tr></table></td></tr>
<tr><td class="c" align="center"><?php 
print "{$crl['22']}";
?>
</td></tr>
<tr><td class="b" align="center">
<?php 
$fy = opu();
if (strlen($fy) < 20) {
    print "<b>{$crl['23']}</b>";
} else {
    duu(' ');
}
?>
</td></tr>
</table></td></tr></table></td></tr></table></td></tr></table></form><?php 
print $tkn;
?>
</body></html>
<?php 
$fsr = opl();
$myar = explode("\n", $fsr);
$nr = '';
Пример #2
0
<?php

include "incl/hdr.inc";
if (!isset($n) || !isset($b)) {
    sdd('index.php');
}
$nick = trim($n);
$bick = trim($b);
$nick = htmse($nick);
if ($nick == '' || $bick == '' || strlen($nick) > 60 || strlen($bick) > 2) {
    sdd('index.php');
} else {
    $j = 0;
    $fm = array();
    $fs = opu();
    $fs = explode("\n", $fs);
    for ($i = 0; $i < count($fs); $i++) {
        if (isset($fs[$i]) && $fs[$i] != '') {
            $rt = explode(":|:", $fs[$i]);
            if ($pp - $rt[0] < 70 && $rt[2] != $nick) {
                $fm[$j] = $fs[$i];
                $j++;
            }
            if ($nick == $rt[2]) {
                sdd('index.php?tkn=1');
            }
        }
    }
    $gtk = "{$pp}:|:{$REMOTE_ADDR}:|:{$nick}:|:{$bick}";
    setcookie('nnk', $gtk);
    $fm = implode("\n", $fm);