echo zen_draw_input_field('to_name', '', 'id="to-name"') . '&nbsp;<span class="alert">' . ENTRY_FIRST_NAME_TEXT . '</span>';
?>
<br class="clearBoth" /> <label class="inputLabel"
			for="to-email-address"><?php 
echo FORM_FIELD_FRIEND_EMAIL;
?>
</label>
<?php 
echo zen_draw_input_field('to_email_address', $_GET['to_email_address'], 'id="to-email-address"') . '&nbsp;<span class="alert">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>';
?>
<br class="clearBoth" /> <label for="email-message"><?php 
echo FORM_TITLE_FRIEND_MESSAGE;
?>
</label>
<?php 
echo zen_draw_textarea_field('message', 30, 5, '', 'id="email-message"');
?>
<br class="clearBoth" />
	</fieldset>

	<div class="buttonRow back"><?php 
echo '<a href="' . zen_href_link(zen_get_info_page($_GET['products_id']), 'products_id=' . $_GET['products_id']) . '">' . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>';
?>
</div>
	<div class="buttonRow forward"><?php 
echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT);
?>
</div>
	<br class="clearBoth" />

	<div id="tellAFriendAdvisory" class="advisory"><?php 
Esempio n. 2
0
     $languages = zen_get_languages();
     $category_inputs_string_metatags_title = '';
     for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
         $category_inputs_string_metatags_title .= '<br />' . zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['metatags_title']) . '&nbsp;' . zen_draw_input_field('metatags_title[' . $languages[$i]['id'] . ']', zen_get_category_metatags_title($cInfo->categories_id, $languages[$i]['id']), zen_set_field_length(TABLE_METATAGS_CATEGORIES_DESCRIPTION, 'metatags_title'));
     }
     $contents[] = array('text' => '<br />' . TEXT_EDIT_CATEGORIES_META_TAGS_TITLE . $category_inputs_string_metatags_title);
     $category_inputs_string_metatags_keywords = '';
     for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
         $category_inputs_string_metatags_keywords .= '<br />' . zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['metatags_keywords']) . '&nbsp;';
         $category_inputs_string_metatags_keywords .= zen_draw_textarea_field('metatags_keywords[' . $languages[$i]['id'] . ']', 'soft', '100%', '20', zen_get_category_metatags_keywords($cInfo->categories_id, $languages[$i]['id']));
     }
     $contents[] = array('text' => '<br />' . TEXT_EDIT_CATEGORIES_META_TAGS_KEYWORDS . $category_inputs_string_metatags_keywords);
     $category_inputs_string_metatags_description = '';
     for ($i = 0, $n = sizeof($languages); $i < $n; $i++) {
         $category_inputs_string_metatags_description .= '<br />' . zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . '&nbsp;';
         $category_inputs_string_metatags_description .= zen_draw_textarea_field('metatags_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '20', zen_get_category_metatags_description($cInfo->categories_id, $languages[$i]['id']));
     }
     $contents[] = array('text' => '<br />' . TEXT_EDIT_CATEGORIES_META_TAGS_DESCRIPTION . $category_inputs_string_metatags_description);
     $contents[] = array('align' => 'center', 'text' => '<br />' . zen_image_submit('button_save.gif', IMAGE_SAVE) . ' <a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
     break;
     // eof: categories meta tags
 // eof: categories meta tags
 case 'move_category':
     $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_MOVE_CATEGORY . '</b>');
     $contents = array('form' => zen_draw_form('categories', FILENAME_CATEGORIES, 'action=move_category_confirm&cPath=' . $cPath) . zen_draw_hidden_field('categories_id', $cInfo->categories_id));
     $contents[] = array('text' => sprintf(TEXT_MOVE_CATEGORIES_INTRO, $cInfo->categories_name));
     $contents[] = array('text' => '<br />' . sprintf(TEXT_MOVE, $cInfo->categories_name) . '<br />' . zen_draw_pull_down_menu('move_to_category_id', zen_get_category_tree(), $current_category_id));
     $contents[] = array('align' => 'center', 'text' => '<br />' . zen_image_submit('button_move.gif', IMAGE_MOVE) . ' <a href="' . zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&cID=' . $cInfo->categories_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
     break;
 case 'delete_product':
     $heading[] = array('text' => '<b>' . TEXT_INFO_HEADING_DELETE_PRODUCT . '</b>');
Esempio n. 3
0
    ?>
          <tr>
            <td class="main" valign="top"><?php 
    if ($i == 0) {
        echo TEXT_PRODUCTS_DESCRIPTION;
    }
    ?>
</td>
            <td colspan="2"><table border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td class="main" width="25" valign="top"><?php 
    echo zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']);
    ?>
&nbsp;</td>
                <td class="main" width="100%"><?php 
    echo zen_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '30', htmlspecialchars(isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id']), ENT_COMPAT, CHARSET, TRUE));
    //,'id="'.'products_description' . $languages[$i]['id'] . '"');
    ?>
</td>
              </tr>
            </table></td>
          </tr>
<?php 
}
?>
          <tr>
            <td colspan="2"><?php 
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
          </tr>
        ?>
</strong></td>
            </tr>
            <tr>
              <td><?php 
        echo zen_draw_separator('pixel_trans.gif', '1', '5');
        ?>
</td>
            </tr>
            <tr><?php 
        echo zen_draw_form('status', FILENAME_SUPER_ORDERS, zen_get_all_get_params(array('action')) . 'action=update_order', 'post', '', true);
        ?>
              <td><table width="100%" border="0" cellspacing="0" cellpadding="2">
                <tr>
                  <td class="main"><?php 
        echo zen_draw_textarea_field('comments', 'soft', '70', '4');
        ?>
</td>
                  <td class="main" valign="center"><strong><?php 
        echo zen_draw_checkbox_field('notify', '', true);
        echo '&nbsp;' . ENTRY_NOTIFY_CUSTOMER . '<br />';
        echo zen_draw_checkbox_field('notify_comments', '', true);
        echo '&nbsp;' . ENTRY_NOTIFY_COMMENTS;
        ?>
</strong></td>
                </tr>
                <tr>
                  <td><?php 
        echo zen_draw_separator('pixel_trans.gif', '1', '10');
        ?>
</td>
</label></th>
<td><?php 
    echo zen_draw_input_field('email', $error ? $_POST['email'] : $email, ' size="40" id="email-address"');
    ?>
</td>
</tr>
<tr>
<th scope="row"><span class="required"><?php 
    echo TEXT_REQUIRED;
    ?>
</span><label><?php 
    echo ENTRY_ENQUIRY;
    ?>
</label></th>
<td><?php 
    echo zen_draw_textarea_field('enquiry', '30', '7', '', 'id="enquiry"');
    ?>
</td>
</tr>
</table>


<div class="submit">
<div class="buttonRow forward"><?php 
    echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT, 'class="imgover"');
    ?>
</div>
</div>
<?php 
}
?>
Esempio n. 6
0
          <tr>
            <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
          </tr>

<script language="javascript"><!--
updateGross();
//--></script>
<?php
    for ($i=0, $n=sizeof($languages); $i<$n; $i++) {
?>
          <tr>
            <td class="main" valign="top"><?php if ($i == 0) echo TEXT_PRODUCTS_DESCRIPTION; ?></td>
            <td colspan="2"><table border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td class="main" width="25" valign="top"><?php echo zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']); ?>&nbsp;</td>
                <td class="main" width="100%"><?php echo zen_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '30', htmlspecialchars((isset($products_description[$languages[$i]['id']])) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id']), ENT_COMPAT, CHARSET, TRUE)); //,'id="'.'products_description' . $languages[$i]['id'] . '"'); ?></td>
              </tr>
            </table></td>
          </tr>
<?php
    }
?>
          <tr>
            <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
          </tr>
          <tr>
            <td class="main"><?php echo TEXT_PRODUCTS_QUANTITY; ?></td>
            <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . zen_draw_input_field('products_quantity', $pInfo->products_quantity); ?></td>
          </tr>
          <tr>
            <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
        $output = $oFCKeditor->CreateHtml();
        echo $output;
    } else {
        // using HTMLAREA or just raw "source"
        echo zen_draw_textarea_field('message_html', 'soft', '100%', '30', $nInfo->content_html, 'id="message_html" class="editorHook"');
    }
    ?>
          </td>
          </tr>
          <tr>
            <td class="main" valign="top"><?php 
    echo TEXT_NEWSLETTER_CONTENT;
    ?>
</td>
            <td class="main"><?php 
    echo zen_draw_textarea_field('content', 'soft', '100%', '20', $nInfo->content, 'class="noEditor"');
    ?>
</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php 
    echo zen_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
          <tr>
            <td class="main" align="right"><?php 
Esempio n. 8
0
              </tr>


          <tr>
            <td colspan="2"><?php 
    echo zen_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
          </tr>
          <tr>
            <td valign="top" class="main"><?php 
    echo TEXT_PAGES_HTML_TEXT;
    ?>
</td>
            <td class="main"><?php 
    echo zen_draw_textarea_field('pages_html_text', 'soft', '100%', '40', htmlspecialchars($ezInfo->pages_html_text, ENT_COMPAT, CHARSET, TRUE));
    ?>
</td>
          </tr>

          <tr>
            <td colspan="2"><?php 
    echo zen_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
          </tr>

          <tr>
            <td class="main" valign="top"><?php 
    echo TEXT_ALT_URL;
    ?>
        $oFCKeditor->CreateFCKeditor('content_html', '97%', '350');
        //instanceName, width, height (px or %)
    } else {
        // using HTMLAREA or just raw "source"
        echo zen_draw_textarea_field('content_html', 'soft', '100%', '30', $nInfo->content_html, 'id="content_html"');
    }
    ?>
          </td>
          </tr>
          <tr>
            <th class="main" valign="top"><?php 
    echo TEXT_NEWSLETTER_CONTENT;
    ?>
</th>
            <td class="main"><?php 
    echo zen_draw_textarea_field('content', 'soft', '100%', '20', $nInfo->content);
    ?>
</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php 
    echo zen_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
          <tr>
            <td class="main" align="center"><?php 
Esempio n. 10
0
    ?>
              </td>
            </tr>
            <tr>
              <td colspan="2"><?php 
    echo zen_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
            </tr>
            <tr>
              <td valign="top" class="main"><?php 
    echo TEXT_MESSAGE;
    ?>
</td>
              <td><?php 
    echo zen_draw_textarea_field('message', 'soft', '100%', '15', htmlspecialchars($_POST['message'], ENT_COMPAT, CHARSET, TRUE));
    ?>
</td>
            </tr>

<?php 
    if (defined('EMAIL_ATTACHMENTS_ENABLED') && EMAIL_ATTACHMENTS_ENABLED === true && defined('DIR_WS_ADMIN_ATTACHMENTS') && is_dir(DIR_WS_ADMIN_ATTACHMENTS) && is_writable(DIR_WS_ADMIN_ATTACHMENTS)) {
        ?>
            <tr>
              <td colspan="2"><?php 
        echo zen_draw_separator('pixel_trans.gif', '1', '10');
        ?>
</td>
            </tr>
<?php 
        if (defined('EMAIL_ATTACHMENT_UPLOADS_ENABLED') && EMAIL_ATTACHMENT_UPLOADS_ENABLED === true) {
              <tr>
                <td class="main">
				<?php 
            if (is_null($_SESSION['html_editor_preference_status'])) {
                echo TEXT_HTML_EDITOR_NOT_DEFINED;
            }
            ?>
				<?php 
            if ($_SESSION['html_editor_preference_status'] == "FCKEDITOR") {
                $oFCKeditor = new FCKeditor();
                $oFCKeditor->Value = $file_contents;
                $oFCKeditor->CreateFCKeditor('file_contents', '700', '400');
                //instanceName, width, height (px or %)
            } else {
                // using HTMLAREA or just raw "source"
                echo zen_draw_textarea_field('file_contents', 'soft', '100%', '25', $file_contents, ($file_writeable ? '' : 'readonly') . ' id="file_contents"');
            }
            ?>
				</td>
              </tr>
              <tr>
                <td><?php 
            echo zen_draw_separator('pixel_trans.gif', '1', '10');
            ?>
</td>
              </tr>
              <tr>
                <td align="right"><?php 
            if ($file_writeable) {
                echo zen_image_submit('button_save.gif', IMAGE_SAVE) . '&nbsp;<a href="' . zen_href_link(FILENAME_DEFINE_PAGES_EDITOR, 'define_it=' . $_GET['define_it'] . '&action=new_page') . '">' . zen_image_button('button_reset.gif', IMAGE_RESET) . '</a>' . '&nbsp;' . '<a href="' . zen_href_link(FILENAME_DEFINE_PAGES_EDITOR . '.php') . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>';
            } else {
Esempio n. 12
0
  <tr><th><?php echo TEXT_INFO_NOTE_ORDER; ?></th><td><?php echo zen_draw_input_field('orders_id', ((isset($_GET['oID'])) ? (int)$_GET['oID'] : $note->fields['orders_id'])); ?><?php echo ((isset($_GET['oID'])) ? '<strong class="notesCheckValue">*</strong>' : '');?></td></tr>
  <tr><th><?php echo TEXT_INFO_NOTE_CATEGORY; ?></th><td><?php echo zen_draw_input_field('categories_id', ((isset($_GET['cPath'])) ? zen_db_input($_GET['cPath']) : $note->fields['categories_id'])); ?><?php echo ((isset($_GET['cPath'])) ? '<strong class="notesCheckValue">*</strong>' : '');?></td></tr>
  <tr><th><?php echo TEXT_INFO_NOTE_CUSTOMER; ?></th><td><?php echo zen_draw_input_field('customers_id', ((isset($_GET['cID'])) ? (int)$_GET['cID'] : $note->fields['customers_id'])); ?><?php echo ((isset($_GET['cID'])) ? '<strong class="notesCheckValue">*</strong>' : '');?></td></tr>        
  <!-- todo  xxx     
  <tr>
            <td class="main">Available Date:&nbsp;</td>

            <td class="main"><script language="javascript">StartDate.writeControl(); StartDate.dateFormat="MM/dd/yyyy";</script><input class="cal-TextBox" name="start" onchange="calMgr.validateDate(document.new_special.start,StartDate.required);" onblur="calMgr.formatDate(document.new_special.start,StartDate.dateFormat);" size="12" value="" type="text"><a class="so-BtnLink" onmouseover="calMgr.swapImg(StartDate,'.imgOver',false);" onmouseout="calMgr.swapImg(StartDate,'.imgUp',false);" onclick="calMgr.swapImg(StartDate,'.imgDown',true);StartDate.show();"><img name="btnDate1" src="http://localhost/admin/includes/javascript/spiffyCal/images/btn_date1_up.gif" width="22" align="absmiddle" border="0" height="17"></a></td>
          </tr>
          <tr>
            <td class="main">Expiry Date:&nbsp;</td>
            <td class="main"><script language="javascript">EndDate.writeControl(); EndDate.dateFormat="MM/dd/yyyy";</script><input class="cal-TextBox" name="end" onchange="calMgr.validateDate(document.new_special.end,EndDate.required);" onblur="calMgr.formatDate(document.new_special.end,EndDate.dateFormat);" size="12" value="" type="text"><a class="so-BtnLink" onmouseover="calMgr.swapImg(EndDate,'.imgOver',false);" onmouseout="calMgr.swapImg(EndDate,'.imgUp',false);" onclick="calMgr.swapImg(EndDate,'.imgDown',true);EndDate.show();"><img name="btnDate2" src="http://localhost/admin/includes/javascript/spiffyCal/images/btn_date1_up.gif" width="22" align="absmiddle" border="0" height="17"></a></td>
          </tr>
  -->
  </table> 
      <?php echo TEXT_INFO_NOTE_TEXT . '<p>' .zen_draw_textarea_field('notes_text', 'soft', '70', '15', stripslashes($note->fields['notes_text'])) . '</p>'; ?></td>
      <?php echo zen_draw_hidden_field('notes_id', $note->fields['notes_id']) . zen_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . zen_href_link(FILENAME_NOTES, zen_get_all_get_params(array('action'))) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>'; ?>
      </form>
<?php
  break;
  
  case 'edit_category':
    echo TEXT_INFO_NOTE_CATEGORY_TITLE . '(id=' . $note_cat->fields['notes_categories_id'] . '):<br />';
    echo zen_draw_form('notes_category_edit', FILENAME_NOTES, 'cID=' . $_GET['cID'] . '&action=update_category');
    echo zen_draw_input_field('notes_categories_name', $note_cat->fields['notes_categories_name']) . '<br /><br />';
    echo zen_image_submit('button_update.gif', IMAGE_UPDATE) . ' <a href="' . zen_href_link(FILENAME_NOTES, 'action=categories') . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>';
 
?>
</form>
<?php
" /><?php 
}
// ** END PAYPAL EXPRESS CHECKOUT **
?>
<h4 class="dark_bg margin_t bg_pen red"><?php 
echo TABLE_HEADING_COMMENTS;
?>
</h4>
<div class="pad_l_28px margin_t big_">
<ul>
  If you have special instructions for your order such as dropshipping order, gift order etc, please let us know!<br/>

  </ul>
<ul class="shipping_textarea">
<?php 
echo zen_draw_textarea_field('comments', '45', '3', $_SESSION['comments'], 'class="txt_review_cont" onblur=\'if(this.value == "") this.className="txt_review_cont"\' onfocus=\'this.className=""\' style="OVERFLOW:auto;border:1px #ccc solid;height:80px;width:540px;"');
?>
  </ul>
</div>
</div>
<div class="pad_10px fr g_t_r"><?php 
echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . TEXT_CONTINUE_CHECKOUT_PROCEDURE;
?>
<br/>
<?php 
echo zen_image_submit(BUTTON_IMAGE_CONTINUE_CHECKOUT, BUTTON_CONTINUE_ALT, 'onclick="submitFunction(' . zen_user_has_gv_account($_SESSION['customer_id']) . ',' . $order->info['total'] . ')"');
?>
</div>
<div class="clear"></div>
</div>
</form>
Esempio n. 14
0
    ?>
</td>
          </tr>
          <tr>
            <td colspan="2"><?php 
    echo zen_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
          </tr>
          <tr>
            <td valign="top" class="main"><?php 
    echo TEXT_BANNERS_HTML_TEXT;
    ?>
</td>
            <td class="main"><?php 
    echo TEXT_BANNERS_HTML_TEXT_INFO . '<br />' . zen_draw_textarea_field('banners_html_text', 'soft', '60', '5', $bInfo->banners_html_text);
    ?>
</td>
          </tr>
          <tr>
            <td colspan="2"><?php 
    echo zen_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
          </tr>
          <tr>
            <td class="main"><?php 
    echo TEXT_BANNERS_ALL_SORT_ORDER;
    ?>
</td>
            <td class="main"><?php 
Esempio n. 15
0
</td>
            <td class="main" align="right" valign="top"><?php 
    echo zen_image(DIR_WS_CATALOG_IMAGES . $rInfo->products_image, $rInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"');
    ?>
</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="main" valign="top"><b><?php 
    echo ENTRY_REVIEW;
    ?>
</b><br><br><?php 
    echo zen_draw_textarea_field('reviews_text', 'soft', '70', '15', stripslashes($rInfo->reviews_text));
    ?>
</td>
          </tr>
          <tr>
            <td class="smallText" align="right"><?php 
    echo ENTRY_REVIEW_TEXT;
    ?>
</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?php 
    echo zen_draw_separator('pixel_trans.gif', '1', '10');
    ?>
Esempio n. 16
0
    ?>
</label>
<?php 
    echo zen_draw_input_field('amount', $_POST['amount'], 'id="amount"', 'text', false) . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>';
    if ($error) {
        echo $error_amount;
    }
    ?>
<br class="clearBoth" />

<label for="message-area"><?php 
    echo ENTRY_MESSAGE;
    ?>
</label>
<?php 
    echo zen_draw_textarea_field('message', 50, 10, stripslashes($_POST['message']), 'id="message-area"');
    ?>
</fieldset>

<div class="buttonRow forward"><?php 
    echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT);
    ?>
</div>
<div class="buttonRow back"><?php 
    echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>';
    ?>
</div>
<br class="clearBoth" />
</form>

<div class="advisory"><?php 
<label class="inputLabel" for="email-address"><?php 
        echo ENTRY_EMAIL . '<span class="red">' . ENTRY_REQUIRED_SYMBOL . '</span>';
        ?>
</label>
<?php 
        echo '<br/>' . zen_draw_input_field('email', $error ? $_POST['email'] : $email, ' size="40" id="email-address" class="input_box" chkname="Email" chkrule="nnull/eml"');
        ?>
<br class="clear" />

<label for="enquiry"><?php 
        echo ENTRY_ENQUIRY . '<span class="red">' . ENTRY_REQUIRED_SYMBOL . '</span>';
        ?>
</label>
<?php 
        echo '<br/>' . zen_draw_textarea_field('enquiry', '30', '7', '', 'id="enquiry" class="textarea1" chkname="review" chkrule="nnull/max1000"');
        ?>

</fieldset>

<div class="pad_10px fl g_t_r" style="width:400px;"><?php 
        echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT);
        ?>
</div>
<?php 
    }
    ?>
</form>

</div>
<div class="clear"></div>
Esempio n. 18
0
function zen_cfg_textarea_small($text, $key = '')
{
    $name = $key ? 'configuration[' . $key . ']' : 'configuration_value';
    return zen_draw_textarea_field($name, false, 35, 1, $text);
}
Esempio n. 19
0
    echo TEXT_PAGES_HTML_TEXT;
    ?>
</td>
            <td class="main">
				<?php 
    if ($_SESSION['html_editor_preference_status'] == "FCKEDITOR") {
        $oFCKeditor = new FCKeditor('pages_html_text');
        $oFCKeditor->Value = $ezInfo->pages_html_text;
        $oFCKeditor->Width = '80%';
        $oFCKeditor->Height = '500';
        //                $oFCKeditor->Create() ;
        $output = $oFCKeditor->CreateHtml();
        echo $output;
    } else {
        // using HTMLAREA or just raw "source"
        echo zen_draw_textarea_field('pages_html_text', 'soft', '100%', '40', htmlspecialchars($ezInfo->pages_html_text));
    }
    ?>
            </td>
          </tr>

          <tr>
            <td colspan="2"><?php 
    echo zen_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
          </tr>

          <tr>
            <td class="main" valign="top"><?php 
    echo TEXT_ALT_URL;
Esempio n. 20
0
</strong></td>
      </tr>
      <tr>
        <td><?php 
    echo zen_draw_separator('pixel_trans.gif', '1', '5');
    ?>
</td>
      </tr>
      <tr>
        <td class="main">
			<table width="60%" border="0"  cellspacing="0" cellpadding="0">
				<tr>
					<td>
		
					<?php 
    echo zen_draw_textarea_field('comments', 'soft', '60', '5');
    ?>
					</td>
				</tr>
			</table>
        </td>
      </tr>

<!-- TY TRACKER 6 BEGIN, ENTER TRACKING INFORMATION -->
<?php 
    if (TY_TRACKER == 'True') {
        ?>
	<tr>
        <td class="main">
			<table border="0" cellpadding="3" cellspacing="0">
				<tr>
Esempio n. 21
0
    ?>
</td>
								</tr>
								<tr>
									<td colspan="2"><?php 
    echo zen_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
								</tr>
								<tr>
									<td valign="top" class="main"><?php 
    echo TEXT_BANNERS_HTML_TEXT;
    ?>
</td>
									<td class="main"><?php 
    echo TEXT_BANNERS_HTML_TEXT_INFO . '<br />' . zen_draw_textarea_field('banners_html_text', 'soft', '60', '5', htmlspecialchars($bInfo->banners_html_text, ENT_COMPAT, CHARSET, TRUE));
    ?>
</td>
								</tr>
								<tr>
									<td colspan="2"><?php 
    echo zen_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
								</tr>
								<tr>
									<td class="main"><?php 
    echo TEXT_BANNERS_ALL_SORT_ORDER;
    ?>
</td>
									<td class="main"><?php 
Esempio n. 22
0
    echo zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']);
    ?>
&nbsp;
                     </td>
                     <td class="main" width="100%">
					   <?php 
    if ($_SESSION['html_editor_preference_status'] == "FCKEDITOR") {
        $oFCKeditor = new FCKeditor('products_photo_html[' . $languages[$i]['id'] . ']');
        $oFCKeditor->Value = isset($products_photo_html[$languages[$i]['id']]) ? stripslashes($products_photo_html[$languages[$i]['id']]) : zen_get_products_photo_html($pInfo->products_id, $languages[$i]['id']);
        $oFCKeditor->Width = '99%';
        $oFCKeditor->Height = '350';
        $output = $oFCKeditor->CreateHtml();
        echo $output;
    } else {
        // using HTMLAREA or just raw "source"
        echo zen_draw_textarea_field('products_photo_html[' . $languages[$i]['id'] . ']', 'soft', '100%', '30', isset($products_photo_html[$languages[$i]['id']]) ? stripslashes($products_photo_html[$languages[$i]['id']]) : zen_get_products_photo_html($pInfo->products_id, $languages[$i]['id']));
    }
    ?>
                     </td>
                 </tr>
               </table>
            </td>
          </tr>
<?php 
}
?>
          <tr>
            <td colspan="2"><?php 
echo zen_draw_separator('pixel_trans.gif', '1', '10');
?>
</td>
Esempio n. 23
0
<td align="right"><?php 
    echo '<b>' . ENTRY_LINKS_CATEGORY . '</b>&nbsp;<span class="red">' . ENTRY_LINKS_CATEGORY_TEXT . '</span>';
    ?>
</td>
<td><?php 
    echo zen_draw_pull_down_menu('links_category', $categories_array, $default_category);
    ?>
</td>
</tr>
<tr>
<td align="right"><?php 
    echo '<b>' . ENTRY_LINKS_DESCRIPTION . '</b>&nbsp;<span class="red">' . ENTRY_LINKS_DESCRIPTION_TEXT . '</span>';
    ?>
</td>
<td><?php 
    echo zen_draw_textarea_field('links_description', '20', '5');
    ?>
</td>
</tr>
<tr>
<td align="right"><?php 
    echo '<b>' . ENTRY_LINKS_BANNER . '</b>&nbsp;<span class="red">' . ENTRY_LINKS_CATEGORY_TEXT . '</span>';
    ?>
</td>
<td><?php 
    echo zen_draw_file_field('links_image_url', '', 'size="18" class="l_input"');
    ?>
</td>
</tr>
<?php 
    if (SUBMIT_LINK_REQUIRE_RECIPROCAL == 'true') {
Esempio n. 24
0
function zen_cfg_textarea_small($text, $key = '')
{
    $name = $key ? 'configuration[' . $key . ']' : 'configuration_value';
    return zen_draw_textarea_field($name, false, 35, 1, htmlspecialchars($text, ENT_COMPAT, CHARSET, FALSE));
}
Esempio n. 25
0
							 		<td class="main" width="100%">
				<?php 
    if (is_null($_SESSION['html_editor_preference_status'])) {
        echo TEXT_HTML_EDITOR_NOT_DEFINED;
    }
    ?>
				<?php 
    if ($_SESSION['html_editor_preference_status'] == "FCKEDITOR") {
        //					if ($_SESSION['html_editor_preference_status']=="FCKEDITOR") require(DIR_FS_ADMIN_INCLUDES.'fckeditor.php');
        $oFCKeditor = new FCKeditor();
        $oFCKeditor->Value = isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id']);
        $oFCKeditor->CreateFCKeditor('products_description[' . $languages[$i]['id'] . ']', '99%', '230');
        //instanceName, width, height (px or %)
    } else {
        // using HTMLAREA or just raw "source"
        echo zen_draw_textarea_field('products_description[' . $languages[$i]['id'] . ']', 'soft', '100%', '20', isset($products_description[$languages[$i]['id']]) ? stripslashes($products_description[$languages[$i]['id']]) : zen_get_products_description($pInfo->products_id, $languages[$i]['id']));
        //,'id="'.'products_description' . $languages[$i]['id'] . '"');
    }
    ?>
					</td>
					<td class="main" width="25" valign="top"><?php 
    echo zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']);
    ?>
&nbsp;</td>
							</tr>
				</table>

				</td>
					</tr>
<?php 
}
    <td align="left" class="smallText">
    <?php 
echo '<a href="' . zen_href_link(zen_get_info_faq_page($_GET['faqs_id']), zen_get_all_get_params()) . '">' . TEXT_FAQ_INFO . '</a>' . '<br /><br />' . SUB_TITLE_FROM, zen_output_string_protected($customer->fields['customers_firstname'] . ' ' . $customer->fields['customers_lastname']) . '<br />' . SUB_TITLE_REVIEW;
?>
    </td>
    <td align="center" valign="top" class="smallText">
      <?php 
if (zen_not_null($faqs_image)) {
    require DIR_WS_MODULES . 'pages/' . $current_page_base . '/main_template_vars_images.php';
}
?>
    </td>
  </tr>
  <tr>
    <td class="main" colspan="2"><?php 
echo zen_draw_textarea_field('review_text', 'soft', 60, 15);
?>
</td>
  </tr>
  <tr>
    <td class="smallText" colspan="2"><?php 
echo TEXT_NO_HTML . (REVIEWS_APPROVAL == '1' ? '<br />' . TEXT_APPROVAL_REQUIRED : '');
?>
</td>
  </tr>
  <tr>
    <td class="main" colspan="2"><?php 
echo zen_draw_separator(DIR_WS_TEMPLATE_IMAGES . OTHER_IMAGE_SILVER_SEPARATOR, '100%', '1');
?>
</td>
   </tr>
Esempio n. 27
0
     if (defined('QUICKUPDATES_QUICKUPDATES_NEW_COLUMN_1_INFO')) {
         echo sprintf(QUICKUPDATES_QUICKUPDATES_NEW_COLUMN_1_INFO, $products->fields['products_id'], stripslashes($products->fields[QUICKUPDATES_NEW_COLUMN_1]), zen_image(DIR_WS_IMAGES . 'icon_info.gif', stripslashes($products->fields[QUICKUPDATES_NEW_COLUMN_1])));
     }
     echo '</td>' . "\n";
 }
 if (QUICKUPDATES_MODIFY_NAME == 'true') {
     // added div wrapper to allow advanced :hover styling
     echo '<td class="smallText productsName"><div>' . zen_draw_input_field('quick_updates_new[products_name][' . $products->fields['products_id'] . ']', stripslashes($products->fields['products_name']), 'size="16"') . zen_draw_hidden_field('quick_updates_old[products_name][' . $products->fields['products_id'] . ']', stripslashes($products->fields['products_name'])) . '</div></td>' . "\n";
 }
 if (QUICKUPDATES_MODIFY_DESCRIPTION == 'true' || QUICKUPDATES_MODIFY_DESCRIPTION_POPUP == 'true') {
     echo '<td class="smallText productsDescription">';
     // no need to display description when popup edit is enabled (?)
     if (QUICKUPDATES_MODIFY_DESCRIPTION_POPUP == 'true') {
         echo '<div style="display: none">';
     }
     echo zen_draw_textarea_field('quick_updates_new[products_description][' . $products->fields['products_id'] . ']', 'soft', 200, 2, stripslashes($products->fields['products_description']), 'id="description_' . $products->fields['products_id'] . '"') . zen_draw_hidden_field('quick_updates_old[products_description][' . $products->fields['products_id'] . '] ', stripslashes($products->fields['products_description']));
     if (QUICKUPDATES_MODIFY_DESCRIPTION_POPUP == 'true') {
         echo '</div>';
     }
     //echo "</td>\n";
     if (QUICKUPDATES_MODIFY_DESCRIPTION_POPUP == 'true') {
         //echo '<td class="smallText productsDescription">'
         echo '<a href="javascript:textEditFieldID=\'description_' . $products->fields['products_id'] . '\';popupWindow(\'' . zen_href_link(FILENAME_POPUP_TEXT_EDIT) . '\');">' . zen_image(DIR_WS_IMAGES . 'icon_edit.gif', TEXT_HTML_EDIT_DESC) . '<span class="cssPopup">' . stripslashes($products->fields['products_description']) . '</span></a>';
     }
     echo "</td>\n";
 }
 if (QUICKUPDATES_MODIFY_MANUFACTURER == 'true') {
     echo '<td class="smallText manufacturersID">' . zen_draw_pull_down_menu('quick_updates_new[manufacturers_id][' . $products->fields['products_id'] . ']', $manufacturers_array, $products->fields['manufacturers_id'], 'style="width: 6em;"') . zen_draw_hidden_field('quick_updates_old[manufacturers_id][' . $products->fields['products_id'] . ']', $products->fields['manufacturers_id']) . '</td>' . "\n";
 }
 if (QUICKUPDATES_MODIFY_STATUS == 'true') {
     echo '<td class="smallText">' . zen_draw_checkbox_field('quick_updates_new[products_status][' . $products->fields['products_id'] . ']', 1, false, $products->fields['products_status'], '') . zen_draw_hidden_field('quick_updates_old[products_status][' . $products->fields['products_id'] . ']', $products->fields['products_status']) . '</td>' . "\n";
Esempio n. 28
0
                echo COUPON_DESC;
            }
            ?>
</td>
        <td align="left" valign="top"><?php 
            if ($_SESSION['html_editor_preference_status'] == "FCKEDITOR") {
                $oFCKeditor = new FCKeditor('coupon_desc[' . $languages[$i]['id'] . ']');
                $oFCKeditor->Value = stripslashes($_POST['coupon_desc'][$language_id]) != '' ? stripslashes($_POST['coupon_desc'][$language_id]) : '';
                $oFCKeditor->Width = '97%';
                $oFCKeditor->Height = '200';
                //                $oFCKeditor->Config['ToolbarLocation'] = 'Out:xToolbar' ;
                $output = $oFCKeditor->CreateHtml();
                echo $output;
            } else {
                // using HTMLAREA or just raw "source"
                echo zen_draw_textarea_field('coupon_desc[' . $languages[$i]['id'] . ']', 'physical', '24', '8', stripslashes($_POST['coupon_desc'][$language_id]));
            }
            echo '&nbsp;' . zen_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']);
            ?>
</td>
        <td align="left" valign="top" class="main"><?php 
            if ($i == 0) {
                echo COUPON_DESC_HELP;
            }
            ?>
</td>
      </tr>
<?php 
        }
        ?>
      <tr>
    $outputCapt .= '<br />' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_CAPTURE_TEXT_COMMENTS . '<br />' . zen_draw_textarea_field('captnote', 'soft', '50', '2', MODULE_PAYMENT_LINKPOINT_API_ENTRY_CAPTURE_DEFAULT_MESSAGE);
    // message text
    $outputCapt .= '<br />' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_CAPTURE_SUFFIX;
    $outputCapt .= '<br /><input type="submit" name="btndocapture" value="' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_CAPTURE_BUTTON_TEXT . '" title="' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_CAPTURE_BUTTON_TEXT . '" />';
    $outputCapt .= '</form>';
    $outputCapt .= '</td></tr></table></td>' . "\n";
}
if (method_exists($this, '_doVoid')) {
    $outputVoid .= '<td valign="top"><table class="noprint">' . "\n";
    $outputVoid .= '<tr style="background-color : #dddddd; border-style : dotted;">' . "\n";
    $outputVoid .= '<td class="main">' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_TITLE . '<br />' . "\n";
    $outputVoid .= zen_draw_form('lpapivoid', FILENAME_ORDERS, zen_get_all_get_params(array('action')) . 'action=doVoid', 'post', '', true) . zen_hide_session_id();
    $outputVoid .= MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID . zen_draw_input_field('voidauthid', MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_DEFAULT_TEXT, 'length="32"');
    $outputVoid .= '<br />' . MODULE_PAYMENT_LINKPOINT_API_TEXT_VOID_CONFIRM_CHECK . zen_draw_checkbox_field('voidconfirm', '', false);
    // comment field
    $outputVoid .= '<br /><br />' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_TEXT_COMMENTS . '<br />' . zen_draw_textarea_field('voidnote', 'soft', '50', '3', MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_DEFAULT_MESSAGE);
    // message text
    $outputVoid .= '<br />' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_SUFFIX;
    // confirm checkbox
    $outputVoid .= '<br /><input type="submit" name="ordervoid" value="' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_BUTTON_TEXT . '" title="' . MODULE_PAYMENT_LINKPOINT_API_ENTRY_VOID_BUTTON_TEXT . '" />';
    $outputVoid .= '</form>';
    $outputVoid .= '</td></tr></table></td>' . "\n";
}
// prepare output based on suitable content components
if (defined('MODULE_PAYMENT_LINKPOINT_API_STATUS') && MODULE_PAYMENT_LINKPOINT_API_STATUS != '') {
    $output = '<!-- BOF: lpapi admin transaction processing tools -->';
    $output .= $outputStartBlock;
    // debug
    // $output .= '<pre>' . print_r($response, true) . '</pre>';
    $output .= $outputMain;
    if (method_exists($this, '_doRefund')) {
Esempio n. 30
0
</td>
												<td><?php 
        echo zen_draw_textarea_field('message_html', 'soft', '100%', '20', htmlspecialchars($_POST['message_html'] == '' ? TEXT_GV_ANNOUNCE : stripslashes($_POST['message_html']), ENT_COMPAT, CHARSET, TRUE), 'id="message_html" class="editorHook"');
        ?>
</td>
											</tr>
<?php 
    }
    ?>
              <tr>
												<td valign="top" class="main"><?php 
    echo TEXT_MESSAGE;
    ?>
</td>
												<td><?php 
    echo zen_draw_textarea_field('message', 'soft', '60', '15', htmlspecialchars($_POST['message'] == '' ? strip_tags(TEXT_GV_ANNOUNCE) : stripslashes($_POST['message']), ENT_COMPAT, CHARSET, TRUE));
    ?>
</td>
											</tr>
											<tr>
												<td colspan="2"><?php 
    echo zen_draw_separator('pixel_trans.gif', '1', '10');
    ?>
</td>
											</tr>
											<tr>
												<td colspan="2" align="right"><?php 
    echo zen_image_submit('button_send_mail.gif', IMAGE_SEND_EMAIL);
    ?>
</td>
											</tr>