Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 1.1.5.0
- * @ Author : DeZender
- * @ Release on : 09.06.2012
- * @ Official site : http://DeZender.Net
- *
- */
- function redir($url) {
- print '<SCRIPT>';
- print '' . 'window.location=\'' . $url . '\'';
- print '</SCRIPT>';
- print 'exit';
- }
- function test_default_pass() {
- $link = @mysql_connect( DBHOST, 'root', 'ispadmin' );
- $link2 = @mysql_connect( DBHOST, 'ispadmin', 'isp123' );
- if (( $link || $link2 )) {
- return 0;
- }
- return 1;
- }
- function get_config($conf_id) {
- $result = sql_go( '' . 'SELECT value FROM config WHERE id=\'' . $conf_id . '\'' );
- if (mysql_num_rows( $result ) != 0) {
- $value = mysql_result( $result, 0, 0 );
- }
- mysql_free_result( $result );
- return $value;
- }
- function saveConfigHistory($id, $oldValue, $newValue, $billing = 0) {
- sql_go( '
- INSERT INTO config_history
- SET
- config_key = \'' . $id . '\',
- old_value = \'' . $oldValue . '\',
- new_value = \'' . $newValue . '\',
- billing_config = \'' . $billing . '\',
- user_id = \'' . get_userid( ) . '\',
- instime = \'' . time( ) . '\'
- ' );
- }
- function sql_login() {
- global $link;
- $link = @mysql_connect( DBHOST, DBUSER, DBPASS );
- if (!$link) {
- echo 'MySQL connect FAILED !!! : ' . mysql_error( );
- exit( );
- }
- mysql_select_db( DBNAME );
- if (MYSQL_CHARSET != '0') {
- sql_go( 'set names ' . MYSQL_CHARSET );
- }
- if (UTF8) {
- sql_go( 'set names UTF8' );
- }
- }
- function get_config_desc($id) {
- $data = '';
- $sql = sql_go( 'SELECT popis FROM config WHERE id = \'' . $id . '\' LIMIT 1' );
- if (( $sql && mysql_num_rows( $sql ) )) {
- $data = trans( mysql_result( $sql, 0, 0 ) );
- }
- return $data;
- }
- ...................................................
- ......................
- .........
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement