$stringtemp .= $num9;
            } else {
                $stringtemp .= substr($srting, $sub, 1);
            }
        }
        return $stringtemp;
    }
}
//-------------------------
require_once 'shamsi.php';
//-------------------------
$nextmonth = mktime(0, 0, 0, date("m") + 1, date("d"), date("Y"));
$datelt = date("Y-m-d", $nextmonth);
$date = date("d/m/Y", $nextmonth);
//------------------------------
$date_shamsi = shamsi($date, true);
$tar_sabt = substr($date_shamsi, 8, 2) . "/" . substr($date_shamsi, 5, 2) . "/" . substr($date_shamsi, 0, 4);
$date_far = $date_far1 = $tar_sabt;
$date_ltn = $date_ltn1 = $datelt;
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"/>
Exemplo n.º 2
0
//-------------------------
require_once 'shamsi.php';
//-------------------------
$nextmonth = mktime(0, 0, 0, date("m") + 1, date("d"), date("Y"));
$datelt = date("Y-m-d", $nextmonth);
$date = date("d/m/Y", $nextmonth);
//------------------------------
$date_shamsi = shamsi($date, true);
$tar_sabt = substr($date_shamsi, 8, 2) . "/" . substr($date_shamsi, 5, 2) . "/" . substr($date_shamsi, 0, 4);
$date_far = $tar_sabt;
$date_ltn = $datelt;
$nextmonth1 = mktime(0, 0, 0, date("m") + 1, date("d") + 1, date("Y"));
$datelt1 = date("Y-m-d", $nextmonth1);
$date1 = date("d/m/Y", $nextmonth1);
//------------------------------
$date_shamsi1 = shamsi($date1, true);
$tar_sabt1 = substr($date_shamsi1, 8, 2) . "/" . substr($date_shamsi1, 5, 2) . "/" . substr($date_shamsi1, 0, 4);
$date_far1 = $tar_sabt1;
$date_ltn1 = $datelt1;
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"/>