<td class="long-td"><?php 
    echo '<a href="' . HOME_URL . 'product.php?ec_product_id=' . $ec_user_cart->ec_product_id . '" title="' . $product_description . '">' . substr($product_description, 0, 100) . '</a>';
    ?>
</td>
          <td><?php 
    echo $ec_user_cart->quantity;
    ?>
</td>
          <td class="unit-price"><?php 
    echo '<span class="currency">' . $curr . '</span>';
    $unit_price = round($ec_user_cart->sales_price, $precision);
    echo '<span class="unit-price-value">' . $unit_price . '</span>';
    ?>
</td>
          <td><?php 
    echo $f->text_area('description', $ec_user_cart->description);
    ?>
</td>
          <td  class="line-price" data-currency="<?php 
    echo $curr;
    ?>
"><?php 
    echo '<span class="currency">' . $curr . '</span>';
    $sub_total = round($ec_user_cart->sales_price * $ec_user_cart->quantity, $precision);
    $total += $sub_total;
    echo '<span class="line-price-value">' . $sub_total . '</span>';
    ?>
</td>
         </tr>
         <tr><td></td>
          <td colspan="6">
Example #2
0
          <td class="long-td"><?php 
    echo '<a href="' . HOME_URL . 'product.php?ec_product_id=' . ${$class}->ec_product_id . '" title="' . $product_description . '">' . substr($product_description, 0, 100) . '</a>';
    ?>
</td>
          <td><?php 
    $f->text_field_wids('quantity');
    ?>
</td>
          <td class="unit-price"><?php 
    echo '<span class="currency">' . $curr . '</span>';
    $unit_price = round(${$class}->sales_price, $precision);
    echo '<span class="unit-price-value">' . $unit_price . '</span>';
    ?>
</td>
          <td><?php 
    echo $f->text_area('description', ${$class}->description);
    ?>
</td>
          <td  class="line-price" data-currency="<?php 
    echo $curr;
    ?>
"><?php 
    echo '<span class="currency">' . $curr . '</span>';
    $sub_total = round(${$class}->sales_price * ${$class}->quantity, $precision);
    $total += $sub_total;
    echo '<span class="line-price-value">' . $sub_total . '</span>';
    ?>
</td>
         </tr>
         <?php 
    $cart_object_ai->next();
      <li><a href="#tabsDetailD-1">Template Code</a></li>
      <li><a href="#tabsDetailD-2">Form View</a></li>
     </ul>
     <div class="tabContainer">
      <div id="tabsDetailD-1" class="tabContent">
       <div class="well">Save the custom template @ <strong>themes\default\template</strong> as file name  <strong><?php 
echo $custom_template_file_name;
?>
</strong>
       &nbsp;&nbsp;&nbsp;&nbsp;<button id="update_form_view" class="btn btn-primary">Refresh Form View</button>
       </div>
       <?php 
if (file_exists($file_name_fp)) {
    $file_content_fp = file_get_contents($file_name_fp);
}
echo $f->text_area('template_code', $file_content_fp, '20', 'template_code', '', ' ', '', '', ' ', 150);
?>
      </div>
      <div id="tabsDetailD-2" class="tabContent">
       <?php 
if (!empty($file_content_fp)) {
    unset($class_names);
    unset($template_file_names);
    $class_names = $obj_class_name_h;
    include HOME_DIR . '/includes/functions/loader.inc';
    if (!empty($template_file_names)) {
        foreach ($template_file_names as $key => $tmpl_file) {
            include_once $tmpl_file;
        }
    }
}
Example #4
0
echo $f->checkBox_field_d('send_me_copy_cb');
?>
</li>
       <li><label>Create Note</label><?php 
echo $f->checkBox_field_d('create_comment_cb');
?>
</li>
       <?php 
echo $f->hidden_field_withId('reference_table', $reference_table);
?>
       <?php 
echo $f->hidden_field_withId('reference_id', $reference_id);
?>
      </ul>
      <div><label for='message'>Message</label><?php 
echo $f->text_area('message', '', '5', 'message', 'form-control', 1);
?>
</div>
      <div>
       <button form="web_mail" name="send_mail" id="save" class="btn btn-info active submit button">Send Mail</button>
      </div>
     </div>


     <div id="tabsHeader-2" class="tabContent">
      <div> <?php 
echo ino_attachement($file);
?>
 </div>
     </div>
    </div>
Example #5
0
echo $f->select_field_from_object('parent_id', path::find_all('name'), 'path_id', array('name', 'module_code'), ${$class}->parent_id, 'parent_id', '', '', 1);
?>
             </li>

            </ul>
           </div>
          </div>
          <div id="tabsHeader-3" class="tabContent">
           <div> 
            <ul class="column four_column">
             <li><label>Custom Div Class : </label> <?php 
echo $f->text_field_dl('custom_div_class');
?>
</li>
             <li><label>Header Text : </label><?php 
echo $f->text_area('header_text', ${$class}->header_text);
?>
</li>
             <li><label>Footer Text : </label> <?php 
echo $f->text_area('footer_text', ${$class}->footer_text);
?>
</li>
             <li><label>Remove Default Header  : </label> <?php 
echo $f->checkBox_field('remove_default_header_cb', ${$class}->remove_default_header_cb);
?>
</li>
            </ul>
           </div>
          </div>
          <div id="tabsHeader-4" class="tabContent">
           <div>