############################################################################### # PROGRAM : DOPAYS # # VERSION : 2.64.87 # # AUTHOR : Dmitry Pereuda # # COPYRIGHTS : DOSWARE TEAM # # # # RELEASED BY : WDYL-WTN # ############################################################################### # All source code, images, programs, files included in this distribution # # Copyright (C)2003 DOSWARE TEAM. All Rights Reservded. # ############################################################################### # While we distribute the source code for our scripts and you are allowed to # # edit them to better suit your needs, we do not support modified code. # # Please see the license prior to changing anything. You must agree to the # # license terms before using this software package or any code contained # # herein. # ############################################################################### # Any redistribution without permission of Dmitry Pereuda (DOSWARE TEAM) is # # strictly forbidden. # ############################################################################### $data['PageName']='HTML CODE FOR BUTTON'; $data['PageFile']='generate'; ############################################################################### include('../config.htm'); ############################################################################### if(!$_SESSION['login']){ header("Location:{$data['Host']}/index.htm"); echo('ACCESS DENIED.'); exit; } if(is_info_empty($uid)){ header("Location:{$data['Host']}/members/profile.htm"); echo('ACCESS DENIED.'); exit; } ############################################################################### $post['Buttons']=get_files_list($data['SinBtnsPath']); ############################################################################### if($post['gid']){ $type=$data['PaymentType'][select_type($post['gid'])]; $button=select_button($post['gid']); $post['PostHtmlCode']= "\n". "
\n". "" ; if($post['status']=='crypt'){ $post['PostHtmlCode']= "\n". encrypt($post['PostHtmlCode']). "\n" ; } $post['PostHtmlCode']=htmlspecialchars($post['PostHtmlCode'], ENT_QUOTES); $post['GetHtmlCode']= "\n". "\n". "