예제 #1
0
	public function index()
	{
		include("mojmojster_database.php");				//See Framework reference.
		$CI->load->helper("requesting");				//See Framework reference.

		$requestedVariable = safeRequest("variable");	//See Framework reference.
		$myCraftsman = $Craftsman->getCraftsman(1); 	//See Framework reference.

		$viewData['passedVariable'] = $requestedVariable;
		$viewData['craftsmanName'] = $myCraftsman->name;
		$CI->load->view('ExaMainView',$viewData);
	
	}
예제 #2
0
               </select>&nbsp;&nbsp;
               <select name="fields_expyear" onchange="javascript:update_expire()" id="fields_expyear" class="input1"><option  value='16'>2016</option><option  value='17'>2017</option><option  value='18'>2018</option><option  value='19'>2019</option><option  value='20'>2020</option><option  value='21'>2021</option><option  value='22'>2022</option><option  value='23'>2023</option><option  value='24'>2024</option><option  value='25'>2025</option><option  value='26'>2026</option><option  value='27'>2027</option><option  value='28'>2028</option></select></td></tr></tbody><input type="hidden" id="cc_expires" name="cc_expires" /> <tbody id='cc_cvv_tr'><tr><td align="right"><label for='cc_cvv'>Security Code:</label></td>
<td align="left"><input  autocomplete="off"  type="text" id="cc_cvv" name="cc_cvv" /></td></tr></tbody>
<tr><td><input type='hidden' name = 'step' value='second' />
<input type='hidden' name = 'temp_order_id' value='<?php 
echo $_GET["tempOrderId"];
?>
' /></td></tr>
<input type='hidden' id='hasFormSubmitted' value='' /><input type='hidden' name='campaign_id' id='campaign_id' value='237' /></td></tr>

      <input type="hidden" id="isWebForm" value="1"/>
      
   <input type='hidden' name='is_upsell' value='0'>
<?php 
foreach ($_GET as $key => $value) {
    echo "<input type='hidden' id='" . safeRequest($key) . "' name='" . safeRequest($key) . "' value='" . safeRequest($_GET[$key]) . "'>";
}
?>
<input type='hidden' name='data_provider_previous_values' value=''/><input type='hidden' name='data_verification_provider_id' value='0'/>
         <tr>
            <td></td><td></td>
         </tr>
         
   <tr>
      <td></td>
      <td>
         
         <input id='btn_submit_form' type='button' value='Submit' onclick='form_validator();'>
      </td>
   </tr>
   </table>