Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*********************/
- /* */
- /* Dezend for PHP5 */
- /* NWS */
- /* Nulled.WS */
- /* */
- /*********************/
- $control_panel = 1;
- include( "API/config.php" );
- if ( isset( $_POST['language'] ) )
- {
- unset( $_SESSION['language'] );
- $_SESSION['language'] = $_POST['language'];
- }
- else if ( !isset( $_SESSION['language'] ) )
- {
- $_SESSION['language'] = $default_language;
- }
- $language_extension = $_SESSION['language'];
- include( "API/config.php" );
- if ( $page_style )
- {
- $joinperc = "%";
- }
- include( "templates/smarty/Smarty.class.php" );
- $Var_744->Smarty( );
- $smarty = $Var_744;
- $smarty->template_dir = $path."/templates";
- $smarty->compile_dir = $path."/cache";
- if ( isset( $_SESSION['valid_user'] ) )
- {
- assign( "affiliateUsername", $_SESSION['valid_user'] );
- }
- assign( "language_type", $_SESSION['language'] );
- assign( "sitename", $sitename );
- assign( "localserver", $_SERVER['PHP_SELF'] );
- assign( "page_align", $page_align );
- assign( "panel_width", $panel_width );
- if ( isset( "joinperc" ) )
- {
- assign( "joinperc", $joinperc );
- }
- assign( "page_border", $page_border );
- assign( "white_back", $white_back );
- assign( "lighter_cells", $lighter_cells );
- assign( "page_back", $page_back );
- assign( "cp_head_back", $cp_head_back );
- assign( "cp_foot_back", $cp_foot_back );
- assign( "top_bot_links", $top_bot_links );
- assign( "top_bot_text", $top_bot_text );
- assign( "alt_links", $alt_links );
- assign( "left_column", $left_column );
- assign( "table_top", $mid_cells );
- assign( "light_cells", $light_cells );
- assign( "logged_menu", $logged_menu );
- assign( "menu_links", $menu_links );
- assign( "dim_font", $dim_font );
- assign( "tag_color", $tag_color );
- assign( "section_head_txt", $section_head_txt );
- assign( "red_text", $red_text );
- assign( "page_links", $page_links );
- assign( "currency", $currency );
- assign( "cur_sym", $cur_sym );
- assign( "main_logo", $main_logo );
- assign( "header_title", $header_title );
- assign( "header_indexLink", $header_indexLink );
- assign( "header_signupLink", $header_signupLink );
- assign( "header_accountLink", $header_accountLink );
- assign( "header_emailLink", $header_emailLink );
- assign( "header_greeting", $header_greeting );
- assign( "header_nonLogged", $header_nonLogged );
- assign( "header_logout", $header_logout );
- assign( "index_table_sale", $index_table_sale );
- assign( "index_table_sale_text", $index_table_sale_text );
- assign( "index_table_click", $index_table_click );
- assign( "index_table_click_text", $index_table_click_text );
- if ( $idev_affiliate )
- {
- assign( "affiliate_account", "/affiliates/idevaffiliate.php?id=".$idev_affiliate );
- }
- assign( "footer_tag", $footer_tag );
- assign( "footer_copyright", $footer_copyright );
- assign( "footer_rights", $footer_rights );
- assign( "page_bkg_image", $page_bkg_image );
- $getpackid = mysql_query( "select id from idevaff_language_packs where name = '{$language_extension}'" );
- $getpackid = mysql_fetch_array( $getpackid );
- $packid = $getpackid['id'];
- $gettokens = mysql_query( "select id, name from idevaff_language_custom" );
- while ( !mysql_num_rows( $gettokens ) || !( $qry = mysql_fetch_array( $gettokens ) ) )
- {
- $token_id = $qry['id'];
- $token_name = $qry['name'];
- $getlang = mysql_query( "select pack_".$packid." as norm from idevaff_language_custom_values where id = {$token_id}" );
- $newqry = mysql_fetch_array( $getlang );
- $lang_item = html_entity_decode( nl2br( $newqry['norm'] ) );
- assign( $token_name, $lang_item );
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement