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 Loginform($err = '') {
- global $smarty;
- global $lang;
- global $config;
- global $dbconn;
- global $user;
- global $config;
- $file_name = seo( 'index', 1 );
- $smarty->assign( 'template_root', $config['index_theme_path'] );
- $smarty->assign( 'template_images_root', $config['index_theme_images_path'] );
- if (( empty( $err ) && $err != '' )) {
- $smarty->assign( 'err', $err );
- }
- $form['login_link'] = seo( 'index', 1 ) . '?sel=login';
- $smarty->assign( 'form', $form );
- $form['login_action'] = $file_name;
- $smarty->assign( 'form', $form );
- $smarty->display( TrimSlash( $config['index_theme_path'] ) . '/new_index_login_form.tpl' );
- exit( );
- }
- function LogoutUser() {
- global $smarty;
- global $lang;
- global $config;
- global $dbconn;
- global $user;
- $strSQL = 'Delete from ' . ACTIVE_SESSIONS_TABLE . ' where id_user=\'' . $user[0] . '\' and session=\'' . session_id( ) . '\' ';
- $rs = $dbconn->Execute( $strSQL );
- $strSQL = 'Delete from ' . ONLINE_NOTICE_TABLE . ' where id_from =\'' . $user[0] . '\' and type=\'1\' ';
- $rs = $dbconn->Execute( $strSQL );
- unset( $_SESSION[saved_user_ip] );
- unset( $_SESSION[back_url] );
- echo '<script>location.href=\'' . seo( 'index', 1 ) . '\'</script>';
- }
- .............................................................
- ................................
- ........
Advertisement
Add Comment
Please, Sign In to add comment