示例#1
0
	<script language="Javascript" type="text/javascript" src="quote.js"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
    <script language="Javascript" type="text/javascript" src="quote_entry.js"></script>
</head>

<script>
	termsScopeArray = [];
	termsSiteArray = [];
	termsFinancialArray = [];
	productSupplyArray = [];
	productSupplyApplyArray = [];
	systemArray = [];
	info = [];
	<?php 
if (isset($_GET['quote_ref'])) {
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_info');
    echo "localStorage.info = JSON.stringify(" . json_encode($rows) . ");\n";
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_scope', ' order by id');
    echo "localStorage.termsScopeArray = JSON.stringify(" . json_encode($rows) . ");\n";
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_financial');
    echo "localStorage.termsFinancialArray = JSON.stringify(" . json_encode($rows) . ");\n";
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_site');
    echo "localStorage.termsSiteArray = JSON.stringify(" . json_encode($rows) . ");\n";
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_supplyapply');
    echo "localStorage.productSupplyApplyArray = JSON.stringify(" . json_encode($rows) . ");\n";
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_supply');
    echo "localStorage.productSupplyArray = JSON.stringify(" . json_encode($rows) . ");\n";
    ?>
		systemArray.push({username:'******'user_log'];
    ?>
示例#2
0
	 .group_header {padding:30px 0px 20px 35px}
	  .small_print_left1 { position:absolute; bottom:0; font-size:10px; padding:5px}
	  .small_print_right2 { position:absolute; bottom:0; font-size:10px; right:0px; text-align:right; padding:5px}
	  .titleprint { font-family: brion; font-size:22px; color:#288aae}
	</style>
<script>
	termsScopeArray = [];
	termsSiteArray = [];
	termsFinancialArray = [];
	productSupplyArray = [];
	productSupplyApplyArray = [];
	systemArray = [];
	info = [];
	<?php 
if (isset($_GET['quote_ref'])) {
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_info');
    $BussCategory = $rows[0]['option_terms'];
    $project = $rows[0]['project_name'];
    $cust_name = $rows[0]['customer_name'];
    $attention = $rows[0]['attention'];
    echo "localStorage.info = JSON.stringify(" . json_encode($rows) . ");\n";
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_scope', ' and status=1');
    echo "localStorage.termsScopeArray = JSON.stringify(" . json_encode($rows) . ");\n";
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_financial', ' and status=1');
    echo "localStorage.termsFinancialArray = JSON.stringify(" . json_encode($rows) . ");\n";
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_site', ' and status=1');
    echo "localStorage.termsSiteArray = JSON.stringify(" . json_encode($rows) . ");\n";
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_supplyapply');
    echo "localStorage.productSupplyApplyArray = JSON.stringify(" . json_encode($rows) . ");\n";
    $rows = $process->GetInfoTable($_GET['quote_ref'], 'quote_supply');
    echo "localStorage.productSupplyArray = JSON.stringify(" . json_encode($rows) . ");\n";