vv456 |
Advanced user |
|
|
Joined: Aug 24, 2012 |
Posts: 190 |
|
|
|
|
|
|
|
Code: | <?php
/**
*
* @ POWER X 7 DECODER
* @ Version : 1.1.4.0
* @ Member : vv456
* @ Official site : http://www.waraxe.us/forum-userprofile-8669.html
*
*/
function fnStart() {
$_SESSION['lang'] = 'tr';
}
function alert($mesaj, $yer) {
echo '<script>';
echo '' . 'alert(\'' . $mesaj . '\')';
echo '</script>';
header( '' . 'refresh:0 url=' . $yer );
}
function rasgele($kackarakter) {
$char = 'abcdefghijklmnoprstuwvyzqxABCDEFGHIJKLMNOPRSTUVWYZQX1234567890';
$k = 1;
while ($k <= $kackarakter) {
$h = substr( $char, mt_rand( 0, strlen( $char ) - 1 ), 1 );
$s .= $h;
++$k;
}
echo $s;
return $s;
}
function tarih($zaman) {
$gunler = array( 'Pazar', 'Pazartesi', 'Salý', 'Çarþamba', 'Perþembe', 'Cuma', 'Cumartesi' );
$aylar = array( NULL, 'Ocak', 'Þubat', 'Mart', 'Nisan', 'Mayýs', 'Haziran', 'Temmuz', 'Aðustos', 'Eylül', 'Ekim', 'Kasým', 'Aralýk' );
$tarih = date( 'd', $zaman ) . ' ' . $aylar[date( 'n', $zaman )] . ' ' . date( 'Y', $zaman ) . ' ' . $gunler[date( 'w', $zaman )];
return $tarih;
}
function Temizle($text) {
$KotuBul = array( '<', '>', 'script', 'alert', 'hacked', 'refresh' );
$KotuDegistir = array( '?', '?', '?', '?', '?', '?' );
$text = str_replace( $KotuBul, $KotuDegistir, $text );
return $text;
}
function seoyap($s) {
$tr = array( 'þ', 'Þ', 'ý', 'I', 'ð', 'Ð', 'ü', 'Ü', 'ö', 'Ö', 'Ç', 'ç', 'Ý' );
$eng = array( 's', 's', 'i', 'i', 'g', 'g', 'u', 'u', 'o', 'o', 'c', 'c', 'i' );
$s = str_replace( $tr, $eng, $s );
$s = strtolower( $s );
$s = preg_replace( '/&amp;amp;amp;amp;amp;amp;amp;amp;amp;.+?;/', '', $s );
$s = preg_replace( '/[^%a-z0-9 _-]/', '', $s );
$s = preg_replace( '/\s+/', '-', $s );
$s = preg_replace( '|-+|', '-', $s );
$s = trim( $s, '-' );
return $s;
}
function trtemizle($convertStr) {
$search = array( 'ç', 'Ç', 'ð', 'Ð', 'ý', 'Ý', 'ö', 'Ö', 's', 'S', 'ü', 'Ü' );
$replace = array( 'c', 'c', 'g', 'G', 'ý', 'i', 'o', 'o', 's', 's', 'u', 'U' );
$convertStr = str_replace( $search, $replace, $convertStr );
$find = array( 'é', 'è', 'ë', 'ê', 'É', 'È', 'Ë', 'Ê' );
$convertStr = str_replace( $find, 'e', $convertStr );
$find = array( 'í', 'ý', 'ì', 'î', 'ï', 'I', 'Ý', 'Í', 'Ì', 'Î', 'Ï' );
$convertStr = str_replace( $find, 'i', $convertStr );
$find = array( 'ó', 'ò', 'ô', 'Ó', 'Ò', 'Ô' );
$convertStr = str_replace( $find, 'o', $convertStr );
$find = array( 'á', 'ä', 'â', '', 'â', 'Ä', 'Â', 'Á', 'À', 'Â' );
$convertStr = str_replace( $find, 'a', $convertStr );
$find = array( 'ú', 'ù', 'û', 'Ú', 'Ù', 'Û' );
$convertStr = str_replace( $find, 'u', $convertStr );
$find = array( 'þ', 'Þ' );
$convertStr = str_replace( $find, 's', $convertStr );
$find = array( 'ð', 'Ð' );
$convertStr = str_replace( $find, 'g', $convertStr );
$convertStr = ucwords( $convertStr );
$convertStr = ereg_replace( '[^a-zA-Z0-9[:space:]]', '', $convertStr );
$convertStr = ereg_replace( '[[:space:]]{1,}', ' ', $convertStr );
$convertStr = str_replace( ' ', ' ', $convertStr );
return $convertStr;
}
function time_to_now($time) {
$days = array( 'Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi' );
$months = array( NULL, 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık' );
$date = date( 'd', $time ) . ' ' . $months[date( 'n', $time )] . ' ' . date( 'Y', $time ) . ' ' . $days[date( 'w', $time )] . ' Saat ' . date( 'H:i', $time );
return $date;
}
function valid_email($email) {
return eregi( '' . '^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$', $email );
}
function sec1($a, $b) {
if ($a == $b) {
$c = 'selected';
}
else {
$c = '';
}
return $c;
}
function sec2($a, $b) {
if ($a == $b) {
$c = 'checked';
}
else {
$c = '';
}
return $c;
}
function sec3($a, $b) {
if (0 < substr_count( $a, $b )) {
$c = 'checked';
}
else {
$c = '';
}
return $c;
}
function sec4($a, $b) {
if (0 < substr_count( $a, $b )) {
$c = 'selected';
}
else {
$c = '';
}
return $c;
}
function mailkontrol($mail) {
if (( strlen( $mail ) < 11 || substr_count( $mail, 'mynet' ) == '1' )) {
return 0;
}
$mk = ereg( '^[a-zA-Z0-9_\.\-]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$', $mail );
if ($mk == '') {
return 0;
}
return 1;
}
function kontrol($a) {
$a = strip_tags( $a );
$a = trim( $a );
$a = strtr( $a, '\'"', '``' );
return $a;
}
function sftemizle($a) {
$a = strtr( $a, '\'', '`' );
$a = trim( $a );
return $a;
}
function uyari($veri) {
$son = '' . '<center><br>' . $veri . '<br><strong><font size=7 face="Georgia, Times New Roman, Times, serif">!</font></strong><br></center>';
return $son;
}
function yonlen($sn, $nere) {
header( '' . 'refresh: ' . $sn . '; url=' . $nere );
}
function Orta($nerde, $icerik) {
}
function bit512($code) {
if (!empty( $code )) {
return md5( crypt( base64_encode( base64_decode( sha1( $code ) ) ), '5¨~´?€£`,\C?^%12' ) . '?=)¨=~´?€£`,\C?^(/>£#$½' );
}
}
ob_start( );
include_once( '_sayac.php' );
include_once( '_edel_head.php' );
include_once( '_edel_config.php' );
if ($_GET['action'] == 'request') {
$_SESSION['lang'] = $_GET['lang'];
}
if (empty( $_SESSION['lang'] )) {
fnStart( );
}
if ($_SESSION['lang'] == 'tr') {
include( 'lang/turkish.inc.php' );
}
else {
if ($_SESSION['lang'] == 'de') {
include( 'lang/deutsch.inc.php' );
}
else {
if ($_SESSION['lang'] == 'en') {
include( 'lang/english.inc.php' );
}
}
}
define( 'LICENSE', '0339730388ea2d714e0954ba056b1222', true );
if (str_replace( array( '-', ':', '=' ), '', LICENSE ) != bit512( 'MrMr+' . str_replace( 'www.', '', $_SERVER['SERVER_NAME'] ) . '+C+' )) {
exit( '<div align="center" style="font-weight:bold; color:red;">Please do not use software license <a href="http://www.renkbilisim.net/">purchase</a> your copy</div>' );
}
?> |
|
|