function form1()
{
    ?>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="author" content="ASA CO." />
	<meta http-equiv="Pragma" content="no-cache"/>
	<meta http-equiv="Expires" content="-1"/>
	
	<title>کنسل رزرو تایید شده</title>
	<link href="css_asa/fonts.css" rel="stylesheet" type="text/css" media="all"/>
	<link href="styles/cross_style.css" rel="stylesheet" type="text/css" media="all"/>
	<script type="text/javascript" src="styles/farsitype.js"></script>
	<script type='text/javascript' src='js/jquery.js'></script>
	
	<style type="text/css">
		#container_form { width: 450px;}
	</style>
	<style type="text/css">
	/* motefareghe */
	.btn { height: 30px; background: url('icons/btns.gif') repeat-x; border: 1px solid #acc9ef !important; border-radius:5px; font: 15px MH_NassimBold; cursor: pointer; }
	
	/* Forms */
	table#main_tab_form td{ padding: 4px;}
	table#main_tab_form tr { margin-top: 1px; border:1px solid #a5c4ed; }
	table#main_tab_form tr:hover { cursor: default; text-shadow: 0.1em 0.1em 0.2em gray; }
	#padd{ padding: 7px; }
	#container_form { margin: 0 auto; border:1px solid #bbd2ff; background: #eef2f8; -webkit-box-shadow: 5px 5px 5px #adadad; box-shadow: 0px 0px 15px #adadad; }
	#header_form { background: url('icons/title_bg1.gif'); width: 100%; height: 30px; font:17px MH_NassimBold, Arial, Helvetica, sans-serif; text-align:right; border-bottom:1px solid #99bbe8; }
	table#main_tab_form { width: 100%; margin: 0px auto; border-collapse: collapse; border:1px solid #a5c4ed; background: #e5ecf4; font: 16px MH_Nassim,tahoma,Arial,Helvetica,sans-serif !important; }   
	input { border: 1px solid #acc9ef; background: white;} 
	
	/* Paging */
	#paging { margin-top: 7px; margin-bottom: 7px; margin-left: auto; margin-right: auto; }
	#paging button { padding: 4px; margin: 2px; font: 15px MH_NassimBold; background: white; border:2px solid #a5c4ed; cursor: pointer; border-radius:5px}
	#paging button.numbers { padding-left: 7px; padding-right: 7px; }
	.hoverPagingButton { background: #e2eeff  repeat !important; }
	#paging button:hover { background: #e2eeff  repeat !important ; }
	.pagesLineNumber { direction: ltr !important; font: 15px MH_NassimBold; margin-left: 5px; background: white; border: 1px solid gray; border-radius:5px; margin-bottom: 5px;}
	.pagesLineNumber td {  padding: 2px;  }
	</style>
	
	<script language="javascript">
	function valid()
	{
	    document.form1.submit();
	}
	</script>
	
	</head>
	<body> 
	<?php 
    global $date_ltn, $date_far;
    if (file('config.php')) {
        require 'config.php';
    }
    if (file('pass_word.php')) {
        require 'pass_word.php';
    }
    ?>
	<form name='form1' method="post" action="" >
	<div id="container_form">
	<div id="header_form">
	<div style="padding: 3px; padding-right: 5px;">کنسل رزرو تایید شده</div>
	<div style="clear: both;"></div>
	</div>
	<div id="padd">
	<table id="main_tab_form" border="0" >
	<tr>
		<td align="left" dir='rtl' class="right_bold_17">تاريخ : <?php 
    print num2fa(reverce_date($date_far)) . " " . $date_ltn;
    ?>
</td>
		<td align='center' colspan='3' class="right_bold_17"><b>http://<?php 
    print $remote_ip;
    ?>
</b></td>
	</tr>
	<tr> 
		<td align="right" colspan="3">&nbsp;</td>
		<td align="left" nowrap='nowrap' ></td>
	</tr>
	<tr> 
		<td align="right" colspan="1">
		<input type="text" name="asa_reserve" id="asa_reserve" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $asa_reserve;
    ?>
" tabindex="2" /></td>
		<td align="left" nowrap='nowrap' >: رزرو در آسا ID</td>
		
		<td align="right" colspan="1">
		<input type="text" name="hotel_reserve" id="hotel_reserve" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $hotel_reserve;
    ?>
" tabindex="1" /></td>
		<td align="left" nowrap='nowrap' >:رزرو در هتل ID</td>
	</tr>
	<tr> 
		<td align="right" colspan="3">&nbsp;</td>
		<td align="left" nowrap='nowrap' ></td>
	</tr>
	<tr> 
		<td align="right" colspan="3">
		<input type="text" name="access_key_id" id="access_key_id" size="20" maxlength="20" dir="ltr" class="left_bold_17" onfocus="this.select();" value="<?php 
    print $access_key_id;
    ?>
" tabindex="3" /></td>
		<td align="left" nowrap='nowrap' >: Access Key ID</td>
	</tr>
	<tr>
		<td align="right" colspan="3">
		<input type="text" name="secret_access_key" id="secret_access_key" size="40" maxlength="40" dir="ltr" class="left_bold_17" onfocus="this.select();" value="<?php 
    print $secret_access_key;
    ?>
" tabindex="4" /></td>
		<td align="left" nowrap='nowrap' >: Secret Access Key </td>
	</tr>
	<tr> 
		<td align="left" nowrap='nowrap' colspan='4' ><font color='#F00000'>version : <?php 
    print $version;
    ?>
</font></td>
	</tr>
			
	<tr> 
		<td align="center" colspan="6">
		<input type="button" class="btn" name="action" id="action" value="ثبت شود" onclick="valid();" style="" tabindex="5" />
		<input type="hidden" name="beensubmited" value="true" >
		</td>
	</tr>
	</table>
	</div> 
	</div>
	</form>
	<?php 
}
function form1()
{
    ?>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="author" content="ASA CO." />
	<meta http-equiv="Pragma" content="no-cache"/>
	<meta http-equiv="Expires" content="-1"/>
	
	<title>درج مشخصات</title>
	<link href="css_asa/fonts.css" rel="stylesheet" type="text/css" media="all"/>
	<link href="styles/cross_style.css" rel="stylesheet" type="text/css" media="all"/>
	<script type="text/javascript" src="styles/farsitype.js"></script>
	<script type='text/javascript' src='js/jquery.js'></script>
	
	<style type="text/css">
	#container_form { width: 600px;}
	</style>
	<style type="text/css">
	/* motefareghe */
	.btn { height: 30px; background: url('icons/btns.gif') repeat-x; border: 1px solid #acc9ef !important; border-radius:5px; font: 15px MH_NassimBold; cursor: pointer; }
	
	/* Forms */
	table#main_tab_form td{ padding: 4px;}
	table#main_tab_form tr { margin-top: 1px; border:1px solid #a5c4ed; }
	table#main_tab_form tr:hover { cursor: default; text-shadow: 0.1em 0.1em 0.2em gray; }
	#padd{ padding: 7px; }
	#container_form { margin: 0 auto; border:1px solid #bbd2ff; background: #eef2f8; -webkit-box-shadow: 5px 5px 5px #adadad; box-shadow: 0px 0px 15px #adadad; }
	#header_form { background: url('icons/title_bg1.gif'); width: 100%; height: 30px; font:17px MH_NassimBold, Arial, Helvetica, sans-serif; text-align:right; border-bottom:1px solid #99bbe8; }
	table#main_tab_form { width: 100%; margin: 0px auto; border-collapse: collapse; border:1px solid #a5c4ed; background: #e5ecf4; font: 16px MH_Nassim,tahoma,Arial,Helvetica,sans-serif !important; }
	input { border: 1px solid #acc9ef; background: white;}
	
	/* Paging */
	#paging { margin-top: 7px; margin-bottom: 7px; margin-left: auto; margin-right: auto; }
	#paging button { padding: 4px; margin: 2px; font: 15px MH_NassimBold; background: white; border:2px solid #a5c4ed; cursor: pointer; border-radius:5px}
	#paging button.numbers { padding-left: 7px; padding-right: 7px; }
	.hoverPagingButton { background: #e2eeff  repeat !important; }
	#paging button:hover { background: #e2eeff  repeat !important ; }
	.pagesLineNumber { direction: ltr !important; font: 15px MH_NassimBold; margin-left: 5px; background: white; border: 1px solid gray; border-radius:5px; margin-bottom: 5px;
	}
	.pagesLineNumber td {  padding: 2px;
	}
	</style>
	<script language="javascript">
	function valid()
	{
		document.form1.submit();
	}
	</script>
	
	</head>
	<body>
	<?php 
    global $date_ltn, $date_far;
    if (file('config.php')) {
        require 'config.php';
    }
    if (file('pass_word.php')) {
        require 'pass_word.php';
    }
    $_lastname1 = 'ثنایی فر';
    $_frstname1 = 'خدابخش';
    $_adress = 'مشهد - تست';
    $coming_from_id = '5897';
    $coming_from_name = 'تهران';
    $_tell = '021-77651959';
    $melli_code = '2120227837';
    $_message = 'ندارد';
    $_travel = '1';
    $_mobile = '09123764208';
    $_flight = 'زاگرس ۲۲';
    $flight_time = '11:15';
    $_desc = 'توضیحات ندارد';
    ?>
	<form name='form1' method="post" action="" >
<div id="container_form">
<div id="header_form">
	<div style="padding: 3px; padding-right: 5px;">درج مشخصات میهمان</div>
	<div style="clear: both;"></div>
</div>
<div id="padd">
<table id="main_tab_form" border="0" >
		<tr>
		<td align="left" dir='rtl' class="right_bold_17">تاريخ : <?php 
    print num2fa(reverce_date($date_far)) . " " . $date_ltn;
    ?>
</td>
		<td align='center' colspan='5' class="right_bold_17"><b>http://<?php 
    print $remote_ip;
    ?>
</b></td>
	</tr>
	<tr> 
		<td align="right" colspan="3">
		<input type="text" name="asa_reserve" id="asa_reserve" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $asa_reserve;
    ?>
" tabindex="2" /></td>
		<td align="left" nowrap='nowrap' >: رزرو در آسا ID</td>
		
		<td align="right" colspan="1">
		<input type="text" name="hotel_reserve" id="hotel_reserve" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $hotel_reserve;
    ?>
" tabindex="1" /></td>
		<td align="left" nowrap='nowrap' >:رزرو در هتل ID</td>
	</tr>
	
	<tr> 
		<td align="right" colspan="1">
		<input type="text" name="_adress" id="_adress" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $_adress;
    ?>
" tabindex="6" /></td>
		<td align="left" nowrap='nowrap' >: آدرس</td>
	
		<td align="right" colspan="1">
		<input type="text" name="_frstname1" id="_frstname1" size="10" maxlength="10" dir="rtl" lang="fa" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $_frstname1;
    ?>
" tabindex="5" /></td>
		<td align="left" nowrap='nowrap' >: نام</td>
		
		<td align="right" colspan="1">
		<input type="text" name="_lastname1" id="_lastname1" size="10" maxlength="10" lang="fa" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $_lastname1;
    ?>
" tabindex="4" /></td>
		<td align="left" nowrap='nowrap' >:نام خانوادگی</td>
	</tr>
	<tr> 
		<td align="right" colspan="1">
		<input type="text" name="_tell" id="_tell" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $_tell;
    ?>
" tabindex="9" /></td>
		<td align="left" nowrap='nowrap' >: تلفن</td>
	
		<td align="right" colspan="1">
		<input type="text" name="coming_from_name" id="coming_from_name" size="10" maxlength="10" dir="rtl" lang="fa" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $coming_from_name;
    ?>
" tabindex="8" /></td>
		<td align="left" nowrap='nowrap' >: شهرمبدا</td>
		
		<td align="right" colspan="1">
		<input type="text" name="coming_from_id" id="coming_from_id" size="4" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $coming_from_id;
    ?>
" tabindex="7" /></td>
		<td align="left" nowrap='nowrap' >: شهرمبدا ID</td>
	</tr>

	<tr> 
		<td align="right" colspan="1">
		<input type="text" name="_travel" id="_travel" size="3" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $_travel;
    ?>
" tabindex="12" /></td>
		<td align="left" nowrap='nowrap' >:وسیله سفر</td>
	
		<td align="right" colspan="1">
		<input type="text" name="_message" id="_message" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $_message;
    ?>
" tabindex="11" /></td>
		<td align="left" nowrap='nowrap' >: پیغام</td>
		
		<td align="right" colspan="1">
		<input type="text" name="melli_code" id="melli_code" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $melli_code;
    ?>
" tabindex="10" /></td>
		<td align="left" nowrap='nowrap' >: کدملی</td>
	</tr>
	<tr> 
		<td align="right" colspan="1">
		<input type="text" name="flight_time" id="flight_time" size="5" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $flight_time;
    ?>
" tabindex="15" /></td>
		<td align="left" nowrap='nowrap' >: ساعت پرواز</td>
	
		<td align="right" colspan="1">
		<input type="text" name="_flight" id="_flight" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $_flight;
    ?>
" tabindex="14" /></td>
		<td align="left" nowrap='nowrap' >: پرواز</td>
		
		<td align="right" colspan="1">
		<input type="text" name="_mobile" id="_mobile" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $_mobile;
    ?>
" tabindex="13" /></td>
		<td align="left" nowrap='nowrap' >: موبایل</td>
	</tr>
	<tr>
		<td align="right" colspan="5">
		<input type="text" name="_desc" id="_desc" size="20" maxlength="50" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $_desc;
    ?>
" tabindex="16" /></td>
		<td align="left" nowrap='nowrap' >: تو‍ضیحات</td>
	</tr>
	
	<tr> 
		<td align="right" colspan="5">&nbsp;</td>
		<td align="left" nowrap='nowrap' ></td>
	</tr>
	<tr> 
		<td align="right" colspan="5">
		<input type="text" name="access_key_id" id="access_key_id" size="20" maxlength="20" dir="ltr" class="left_bold_17" onfocus="this.select();" value="<?php 
    print $access_key_id;
    ?>
" tabindex="17" /></td>
		<td align="left" nowrap='nowrap' >: Access Key ID</td>
	</tr>
	<tr>
		<td align="right" colspan="5">
		<input type="text" name="secret_access_key" id="secret_access_key" size="40" maxlength="40" dir="ltr" class="left_bold_17" onfocus="this.select();" value="<?php 
    print $secret_access_key;
    ?>
" tabindex="18" /></td>
		<td align="left" nowrap='nowrap' >: Secret Access Key </td>
	</tr>
	<tr> 
		<td align="left" nowrap='nowrap' colspan='2' ><font color='#F00000'>version : <?php 
    print $version;
    ?>
</font></td>
		<td align="right" colspan="3">&nbsp;</td>
		<td align="left" nowrap='nowrap' ></td>
	</tr>
	
	<tr> 
		<td align="center" colspan="6">
		<input type="button" class="btn" name="action" id="action" value="ثبت شود" onclick="valid();" style="" tabindex="19" />
		<input type="hidden" name="beensubmited" value="true" >
		</td>
	</tr>
	</table>
	</div> 
	</div>
	</form>
	<?php 
}
function form1()
{
    ?>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="author" content="ASA CO." />
	<meta http-equiv="Pragma" content="no-cache"/>
	<meta http-equiv="Expires" content="-1"/>
	
	<title>ثبت رزرو جدید در مرکز رزرواسیون آسا</title>
	<link href="css_asa/fonts.css" rel="stylesheet" type="text/css" media="all"/>
	<link href="styles/cross_style.css" rel="stylesheet" type="text/css" media="all"/>
	<script type="text/javascript" src="styles/farsitype.js"></script>
	<script type='text/javascript' src='js/jquery.js'></script>
	
	<style type="text/css">
		#container_form { width: 600px;}
	</style>
	<style type="text/css">
	/* motefareghe */
	.btn { height: 30px; background: url('icons/btns.gif') repeat-x; border: 1px solid #acc9ef !important; border-radius:5px; font: 15px MH_NassimBold; cursor: pointer; }
	
	/* Forms */
	table#main_tab_form td{ padding: 4px;}
	table#main_tab_form tr { margin-top: 1px; border:1px solid #a5c4ed; }
	table#main_tab_form tr:hover { cursor: default; text-shadow: 0.1em 0.1em 0.2em gray; }
	#padd{ padding: 7px; }
	#container_form { margin: 0 auto; border:1px solid #bbd2ff; background: #eef2f8; -webkit-box-shadow: 5px 5px 5px #adadad; box-shadow: 0px 0px 15px #adadad; }
	#header_form { background: url('icons/title_bg1.gif'); width: 100%; height: 30px; font:17px MH_NassimBold, Arial, Helvetica, sans-serif; text-align:right; border-bottom:1px solid #99bbe8; }
	table#main_tab_form { width: 100%; margin: 0px auto; border-collapse: collapse; border:1px solid #a5c4ed; background: #e5ecf4; font: 16px MH_Nassim,tahoma,Arial,Helvetica,sans-serif !important; }   
	input { border: 1px solid #acc9ef; background: white;} 
	
	/* Paging */
	#paging { margin-top: 7px; margin-bottom: 7px; margin-left: auto; margin-right: auto; }
	#paging button { padding: 4px; margin: 2px; font: 15px MH_NassimBold; background: white; border:2px solid #a5c4ed; cursor: pointer; border-radius:5px}
	#paging button.numbers { padding-left: 7px; padding-right: 7px; }
	.hoverPagingButton { background: #e2eeff  repeat !important; }
	#paging button:hover { background: #e2eeff  repeat !important ; }
	.pagesLineNumber { direction: ltr !important; font: 15px MH_NassimBold; margin-left: 5px; background: white; border: 1px solid gray; border-radius:5px; margin-bottom: 5px;}
	.pagesLineNumber td {  padding: 2px;  }
	</style>
	<script language="javascript">
	$(document).ready(function(){
	    changePossitionFavoriteBox('container_form', -70, 0);
	});
	</script>
	
	</head>
	<body> 
	<?php 
    global $date_ltn, $date_far, $date_ltn1, $date_far1;
    if (file('config.php')) {
        require 'config.php';
    }
    if (file('pass_word.php')) {
        require 'pass_word.php';
    }
    $from_date = $date_ltn;
    $to_date = $date_ltn1;
    $_hotel = 1;
    $id_kind1 = 1;
    $id_kind2 = 2;
    $_numb1 = $_adult1 = 1;
    $_numb2 = $_adult2 = 1;
    $age_child11 = $age_child12 = $age_child13 = 1;
    $age_child21 = 1;
    $age_child22 = 11;
    $age_child23 = 0;
    ?>
	<form name='form1' method="post" action="" >
	<div id="container_form">
	<div id="header_form">
	<div style="padding: 3px; padding-right: 5px;">ثبت رزرو جدید</div>
	<div style="clear: both;"></div>
	</div>
	<div id="padd">
	<table id="main_tab_form" border="0" >
		<tr>
		<td align="left" colspan='2' class="right_bold_17">تاريخ : <?php 
    print num2fa(reverce_date($date_far)) . " " . $date_ltn;
    ?>
</td>
		<td align='center' colspan='4' class="right_bold_17"><b>http://<?php 
    print $remote_ip;
    ?>
</b></td>
	</tr>
	<tr> 
		<td align="right" colspan="1">
		<input type="text" name="to_date" id="to_date" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $to_date;
    ?>
" tabindex="3" /></td>
		<td align="left" nowrap='nowrap' >: تاتاریخ</td>
	
		<td align="right" colspan="1">
		<input type="text" name="from_date" id="from_date" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $from_date;
    ?>
" tabindex="2" /></td>
		<td align="left" nowrap='nowrap' >: ازتاریخ</td>
		
		<td align="right" colspan="1">
		<input type="text" name="_hotel" id="_hotel" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $_hotel;
    ?>
" tabindex="1" /></td>
		<td align="left" nowrap='nowrap' >:هتل</td>
	</tr>
	
	<tr> 
		<td align="right" colspan="1">
		<input type="text" name="_adult1" id="_adult1" size="3" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $_adult1;
    ?>
" tabindex="6" /></td>
		<td align="left" nowrap='nowrap' >:۱ بزرگسال</td>
	
		<td align="right" colspan="1">
		<input type="text" name="_numb1" id="_numb1" size="3" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $_numb1;
    ?>
" tabindex="5" /></td>
		<td align="left" nowrap='nowrap' >: تعداد اتاق۱</td>
		
		<td align="right" colspan="1">
		<input type="text" name="id_kind1" id="id_kind1" size="3" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $id_kind1;
    ?>
" tabindex="4" /></td>
		<td align="left" nowrap='nowrap' >:تنوع اتاق ۱</td>
	</tr>
	<tr> 
		<td align="right" colspan="1">
		<input type="text" name="age_child13" id="age_child13" size="3" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $age_child13;
    ?>
" tabindex="9" /></td>
		<td align="left" nowrap='nowrap' >: سن خردسال ۳</td>
	
		<td align="right" colspan="1">
		<input type="text" name="age_child12" id="age_child12" size="3" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $age_child12;
    ?>
" tabindex="8" /></td>
		<td align="left" nowrap='nowrap' >: سن خردسال ۲</td>
		
		<td align="right" colspan="1">
		<input type="text" name="age_child11" id="age_child11" size="3" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $age_child11;
    ?>
" tabindex="7" /></td>
		<td align="left" nowrap='nowrap' >:سن خردسال ۱</td>
	</tr>

	<tr> 
		<td align="right" colspan="1">
		<input type="text" name="_adult2" id="_adult2" size="3" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $_adult2;
    ?>
" tabindex="12" /></td>
		<td align="left" nowrap='nowrap' >:۲ بزرگسال</td>
	
		<td align="right" colspan="1">
		<input type="text" name="_numb2" id="_numb2" size="3" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $_numb2;
    ?>
" tabindex="11" /></td>
		<td align="left" nowrap='nowrap' >: تعداد اتاق۲</td>
		
		<td align="right" colspan="1">
		<input type="text" name="id_kind2" id="id_kind2" size="3" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $id_kind2;
    ?>
" tabindex="10" /></td>
		<td align="left" nowrap='nowrap' >:تنوع اتاق ۲</td>
	</tr>
	<tr> 
		<td align="right" colspan="1">
		<input type="text" name="age_child23" id="age_child23" size="3" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $age_child23;
    ?>
" tabindex="15" /></td>
		<td align="left" nowrap='nowrap' >: سن خردسال ۳</td>
	
		<td align="right" colspan="1">
		<input type="text" name="age_child22" id="age_child22" size="3" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $age_child22;
    ?>
" tabindex="14" /></td>
		<td align="left" nowrap='nowrap' >: سن خردسال ۲</td>
		
		<td align="right" colspan="1">
		<input type="text" name="age_child21" id="age_child21" size="3" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $age_child21;
    ?>
" tabindex="13" /></td>
		<td align="left" nowrap='nowrap' >:سن خردسال ۱</td>
	</tr>
	<tr> 
		<td align="right" colspan="5">&nbsp;</td>
		<td align="left" nowrap='nowrap' ></td>
	</tr>
	<tr> 
		<td align="right" colspan="5">
		<input type="text" name="access_key_id" id="access_key_id" size="20" maxlength="20" dir="ltr" class="left_bold_17" onfocus="this.select();" value="<?php 
    print $access_key_id;
    ?>
" tabindex="16" /></td>
		<td align="left" nowrap='nowrap' >: Access Key ID</td>
	</tr>
	<tr>
		<td align="right" colspan="5">
		<input type="text" name="secret_access_key" id="secret_access_key" size="40" maxlength="40" dir="ltr" class="left_bold_17" onfocus="this.select();" value="<?php 
    print $secret_access_key;
    ?>
" tabindex="17" /></td>
		<td align="left" nowrap='nowrap' >: Secret Access Key </td>
	</tr>
	<tr> 
		<td align="left" nowrap='nowrap' colspan='2' ><font color='#F00000'>version : <?php 
    print $version;
    ?>
</font></td>
		<td align="right" colspan="3">&nbsp;</td>
		<td align="left" nowrap='nowrap' ></td>
	</tr>
	
	<tr> 
		<td align="center" colspan="6">
		<input type="submit" class="btn" name="action" id="action" value="ثبت شود" style="" tabindex="18" />
		<input type="hidden" name="beensubmited" value="true" >
		</td>
	</tr>
	</table>
	</div> 
	</div>
	</form>
	<?php 
}
Exemple #4
0
    require 'config.php';
}
if (file('pass_word.php')) {
    require 'pass_word.php';
}
?>
<div id="container_form">
<div id="header_form">
	<div style="padding: 3px; padding-right: 5px;">صفحه اصلی تست وب سرویسها</div>
	<div style="clear: both;"></div>
</div>
<div id="padd">
<table id="main_tab_form" border="0" >
	<tr>
		<td align="left" nowrap="nowrap">تاريخ : <?php 
print num2fa(reverce_date($date_far)) . " " . $date_ltn;
?>
</td>

		<td align="center" nowrap='nowrap' ><b><font color='#F00000'>version : <?php 
print $version;
?>
</font></b></td>
		
		<td align='right' colspan='1'><b>http://<?php 
print $remote_ip;
?>
</b></td>
	</tr>
	<tr> 
		<td align="right" colspan="1">
function form1()
{
    ?>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="author" content="ASA CO." />
	<meta http-equiv="Pragma" content="no-cache"/>
	<meta http-equiv="Expires" content="-1"/>
	
	<title>دریافت صورتحساب آژانس - شرکت طی بازه تاریخی</title>
	
	<link href="css_asa/fonts.css" rel="stylesheet" type="text/css" media="all"/>
	<link href="styles/cross_style.css" rel="stylesheet" type="text/css" media="all"/>
	<script type="text/javascript" src="styles/farsitype.js"></script>
	<script type='text/javascript' src='js/jquery.js'></script>
	
	<style type="text/css">
		#container_form { width: 550px;}
	</style>
	<style type="text/css">
	/* motefareghe */
	.btn { height: 30px; background: url('icons/btns.gif') repeat-x; border: 1px solid #acc9ef !important; border-radius:5px; font: 15px MH_NassimBold; cursor: pointer; }
	
	/* Forms */
	table#main_tab_form td{ padding: 4px;}
	table#main_tab_form tr { margin-top: 1px; border:1px solid #a5c4ed; }
	table#main_tab_form tr:hover { cursor: default; text-shadow: 0.1em 0.1em 0.2em gray; }
	#padd{ padding: 7px; }
	#container_form { margin: 0 auto; border:1px solid #bbd2ff; background: #eef2f8; -webkit-box-shadow: 5px 5px 5px #adadad; box-shadow: 0px 0px 15px #adadad; }
	#header_form { background: url('icons/title_bg1.gif'); width: 100%; height: 30px; font:17px MH_NassimBold, Arial, Helvetica, sans-serif; text-align:right; border-bottom:1px solid #99bbe8; }
	table#main_tab_form { width: 100%; margin: 0px auto; border-collapse: collapse; border:1px solid #a5c4ed; background: #e5ecf4; font: 16px MH_Nassim,tahoma,Arial,Helvetica,sans-serif !important; }   
	input { border: 1px solid #acc9ef; background: white;} 
	
	/* Paging */
	#paging { margin-top: 7px; margin-bottom: 7px; margin-left: auto; margin-right: auto; }
	#paging button { padding: 4px; margin: 2px; font: 15px MH_NassimBold; background: white; border:2px solid #a5c4ed; cursor: pointer; border-radius:5px}
	#paging button.numbers { padding-left: 7px; padding-right: 7px; }
	.hoverPagingButton { background: #e2eeff  repeat !important; }
	#paging button:hover { background: #e2eeff  repeat !important ; }
	.pagesLineNumber { direction: ltr !important; font: 15px MH_NassimBold; margin-left: 5px; background: white; border: 1px solid gray; border-radius:5px; margin-bottom: 5px;}
	.pagesLineNumber td {  padding: 2px;  }
	</style>
	
	<script language="javascript">
	$(document).ready(function(){
	    changePossitionFavoriteBox('container_form', -70, 0);
	});
	</script>
	</head>
	<body>
	<?php 
    global $date_ltn, $date_far;
    global $from_date, $to_date;
    if (file('config.php')) {
        require 'config.php';
    }
    if (file('pass_word.php')) {
        require 'pass_word.php';
    }
    $id_area = 5898;
    $num_room = 1;
    $num_adult = 1;
    $num_child = 0;
    ?>
	<form name='form1' method="post" action="" >
	<div id="container_form">
	<div id="header_form">
	<div style="padding: 3px; padding-right: 5px;">دریافت صورتحساب<font color='#F00000'> آژانس - شرکت </font><font color='#0000F0'>طی بازه تاریخی</font></div>
	<div style="clear: both;"></div>
	</div>
	<div id="padd">
	<table id="main_tab_form" border="0" >
		<tr>
		<td align="left" dir='rtl' class="right_bold_17">تاريخ : <?php 
    print num2fa(reverce_date($date_far)) . " " . $date_ltn;
    ?>
</td>
		<td align='center' colspan='3' class="right_bold_17"><b>http://<?php 
    print $remote_ip;
    ?>
</b></td>
	</tr>
	<tr> 
		<td align="right" colspan="3">&nbsp;</td>
		<td align="left" nowrap='nowrap' ></td>
	</tr>
	<tr> 
	
		<td align="right" colspan="3">
		<input type="text" name="id_hotel" id="id_hotel" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $id_hotel;
    ?>
" tabindex="1" /></td>
		<td align="left" nowrap='nowrap' >: کد هتل</td>
	</tr>
	<tr> 
		<td align="right" colspan="1">
		<input type="text" name="to_date" id="to_date" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $to_date;
    ?>
" tabindex="6" /></td>
		<td align="left" nowrap='nowrap' >: تا تاریخ</td>
		
		<td align="right" colspan="1">
		<input type="text" name="from_date" id="from_date" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $from_date;
    ?>
" tabindex="5" /></td>
		<td align="left" nowrap='nowrap' >: ازتاریخ</td>
	</tr>
	<tr>
		<td align="right" colspan="3">&nbsp;</td>
		<td align="left" nowrap='nowrap' ></td>
	</tr>
	<tr> 
		<td align="right" colspan="1">
		<input type="text" name="_pass" id="_pass" size="10" maxlength="10" dir="ltr" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $pass;
    ?>
" tabindex="8" /></td>
		<td align="left" nowrap='nowrap' >: پسورد</td>
		
		<td align="right" colspan="1">
		<input type="text" name="_user" id="_user" size="10" maxlength="10" dir="rtl" class="right_bold_17" onfocus="this.select();" value="<?php 
    print $user;
    ?>
" tabindex="7" /></td>
		<td align="left" nowrap='nowrap' >: شناسه</td>
	</tr>
	<tr> 
		<td align="left" nowrap='nowrap' colspan='3' ><font color='#F00000'>version : <?php 
    print $version;
    ?>
</font></td>
		<td align="left" nowrap='nowrap' ></td>
	</tr>
	
	<tr> 
		<td align="center" colspan="4">
		<input type="submit" class="btn" name="action" id="action" value="ثبت شود" style="" tabindex="9" />
		<input type="hidden" name="beensubmited" value="true" >
		</td>
	</tr>
	</table>
	</div> 
	</div>
	</form>
	<?php 
}