Exemple #1
0
                    $st .= DateModules::miladi_to_shamsi($ValuesStore[$res[$i]]);
                    break;
                default:
                    $st .= $ValuesStore[$res[$i]];
            }
        } else {
            if (isset($TplItemsStore[$res[$i]]["FieldName"])) {
                $st .= $ContractRecord[$TplItemsStore[$res[$i]]["FieldName"]];
            }
        }
    } else {
        $st .= $res[$i];
    }
}
//---------------------------------------------------------
$signs = CNT_ContractSigns::Get(" AND ContractID=?", array($CntObj->ContractID));
?>
<head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>	
	<link rel="stylesheet" type="text/css" href="/generalUI/fonts/fonts.css">
    <style media="print">
        .noPrint {display:none;}
		@page  
		{ 
			size: auto;   /* auto is the initial value */ 

			/* this affects the margin in the printer settings */ 
			margin: 10mm 0mm 10mm 0mm;  
		} 
    </style>
    <style type="text/css">
Exemple #2
0
function GetSigns()
{
    $temp = CNT_ContractSigns::Get(" AND ContractID=?", array($_REQUEST["ContractID"]));
    echo dataReader::getJsonData($temp, count($temp), $_GET["callback"]);
    die;
}