コード例 #1
0
ファイル: add_recipients.php プロジェクト: njassim/SOHO_REPRO
" />
                        <input type="hidden" name="user_session_comp" id="user_session_comp" value="<?php 
echo $_SESSION['sohorepro_companyid'];
?>
" />
                        <input type="hidden" name="jobref_id" id="jobref_id" value="" />
                        <input type="hidden" name="company_id" id="company_id" value="" />  
                <ul>
                  
                    <div  id="set_1">
                        <input type="hidden" name="pri_inc_val" id="pri_inc_val" value="1" />
                  <li class="clear">
                  
                      <div class="serviceOrderSetHolder">
                          <?php 
$entered_needed_sets = NeededSets($_SESSION['sohorepro_companyid'], $_SESSION['sohorepro_userid']);
?>
                          <input type="hidden" name="entered_plot_already" id="entered_plot_already" value="<?php 
echo count($entered_needed_sets);
?>
" />
                          <div style="background-color:#FFFFFF" class="serviceOrderSetWapper" setindex="0">                            
                            <div style="padding-top: 10px;">
                                <input type="radio" name="del_type" id="everything_return" value="1" style="width: 15% !important;" onclick="return everything_return();" /><span style="text-transform: uppercase;font-weight: bold;">Return everything to my office</span>
                            </div>
                            <div>
                                <input type="radio" name="del_type" id="send_everything_to" value="1" style="width: 15% !important;" onclick="return send_everything_to();" /><span style="text-transform: uppercase;font-weight: bold;">Send everything to :</span>                                
                                <select  name="address_book_se" id="address_book_se" style="width: 20% !important;" onchange="return send_everything_to();">
                                    <option value="0">Address Book</option>
                                    <?php 
$address_book = AddressBookCompanyService($_SESSION['sohorepro_companyid']);
コード例 #2
0
ファイル: get_recipients.php プロジェクト: njassim/SOHO_REPRO
                                arch_output     = '" . $output_sets_2 . "',
                                arch_binding    = '" . $binding_sets_2 . "',
                                arch_folding    = '" . $folding_sets_2 . "',    
                                shipp_id        = '" . $shipping_id_rec . "',
                                shipp_date      = '" . $date_needed . "',
                                shipp_time      = '" . $time_needed . "',  
                                spl_inc         = '" . $spl_recipient . "',
                                delivery_type   = '" . $delivery_type . "',
                                billing_number  = '" . $bill_number . "',
                                shipp_comp_1    = '" . $shipp_comp_1_f . "',
                                shipp_comp_2    = '" . $shipp_comp_2_f . "',
                                shipp_comp_3    = '" . $shipp_comp_3_f . "'  WHERE id = '" . $edit_recipient_id . "' ";

    $sql_result = mysql_query($query);

    $entered_needed_sets = NeededSets($user_session_comp, $user_session);
    $r = 1;
    foreach ($entered_needed_sets as $entered_sets) {
        $shipp_add = SelectIdAddressService($entered_sets['shipp_id']);
        $plot_binding = ($entered_sets['binding'] == '0') ? '' : ',' . $entered_sets['binding'];
        $plot_folding = ($entered_sets['folding'] == '0') ? '' : ',' . $entered_sets['folding'];
        $arch_binding = ($entered_sets['arch_binding'] == '0') ? '' : ',' . $entered_sets['arch_binding'];
        $arch_folding = ($entered_sets['arch_folding'] == '0') ? '' : ',' . $entered_sets['arch_folding'];
        ?>
        <div style="float: left;" class="shaddows">
            <div class="ribbon" id="ribbon_final"><span>RECIPIENT <?php echo $r; ?></span></div>
            <div style="width: 100%;float: left;margin-top: 10px;margin-bottom: 10px;">                            
                <div style="float: right;">
                    <span title="Edit Recipient" alt="Edit Recipient" style="font-weight: bold;cursor: pointer;padding-right: 15px;font-weight: bold;padding-right: 15px;background: #009C58;color: #FFF;padding: 2px 10px;border-radius: 5px;margin-top: 3px;margin-right: 15px;" onclick="return edit_recipient('<?php echo $entered_sets['id']; ?>');">Edit</span>                               
                </div>
                <div class="details_div">