Ejemplo n.º 1
0
      var kill = document.getElementById('hoverJS');
      kill.disabled = true;
    }
  }
  // -->
</script>
</head>
<body onload="init()">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<h1><?php echo HEADING_TITLE . TEXT_DELIMITER . $wishlist->fields['name']; ?></h1>

<ul>
<li><?php echo ENTRY_CUSTOMER; ?><a href="<?php echo zen_href_link(FILENAME_CUSTOMERS, 'cID=' . $wishlist->fields['customers_id']); ?>"><?php echo un_get_fullname($wishlist->fields['customers_firstname'], $wishlist->fields['customers_lastname'], $wishlist->fields['customers_email_address']); ?></a></li>
<li><?php echo ENTRY_COMMENT . $wishlist->fields['comment']; ?></li>
<li><?php echo ENTRY_DEFAULT . $wishlist->fields['default_status']; ?></li>
<li><?php echo ENTRY_PUBLIC . $wishlist->fields['public_status']; ?></li>
</ul>

<!-- product listing -->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
	<tr class="dataTableHeadingRow">

	<?php echo $oWishlist->getTableHeader(); ?>

	</tr>
              
<?php 
if ( $products->RecordCount() > 0 ) { 
Ejemplo n.º 2
0
    $rows = 0;
    ?>
			<?php 
    while (!$records->EOF) {
        ?>
				<?php 
        $rows++;
        ?>
				<dt><?php 
        echo $rows;
        ?>
. <a href="<?php 
        echo zen_href_link(UN_FILENAME_WISHLIST_FIND, 'wid=' . $records->fields['id'], 'SSL');
        ?>
"><?php 
        echo un_get_fullname($records->fields['customers_firstname'], $records->fields['customers_lastname'], $records->fields['customers_email_address']) . FIND_RESULT_WISHLIST_OWNER;
        ?>
</a></dt>
				<dd>
				<ul>
				<?php 
        $location = un_get_citystate($records->fields['entry_city'], $records->fields['entry_state'], 'Unknown');
        ?>
				<?php 
        if (!un_is_empty($location)) {
            ?>
				<li><?php 
            echo FIND_RESULT_LOCATION . UN_LABEL_DELIMITER;
            ?>
&nbsp;<?php 
            echo $location;
Ejemplo n.º 3
0
<h1><?php echo HEADING_TITLE; ?></h1>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
	<tr class="dataTableHeadingRow">
		<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CUSTOMER; ?></td>
		<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_WISHLIST; ?></td>
		<td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_COUNT; ?></td>
		<td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_ACTION; ?>&nbsp;</td>
	</tr>
              
<?php if ( $records->RecordCount() > 0 ) { ?>

<?php while (!$records->EOF) { ?>
	<tr>
		<td class="dataTableContent"><?php echo un_get_fullname($records->fields['customers_firstname'], $records->fields['customers_lastname'], $records->fields['customers_email_address']); ?></td>
		<td class="dataTableContent"><a href="<?php echo zen_href_link(UN_FILENAME_WISHLIST, 'wid=' . $records->fields['id']);?>"><?php echo $records->fields['name']; ?></a></td>
		<td class="dataTableContent" align="right"><?php echo $records->fields['items_count']; ?></td>
		<td class="dataTableContent" align="right">
			<a href="<?php echo zen_href_link(UN_FILENAME_WISHLISTS, 'wid=' . $records->fields['id'] . '&action=delete'); ?>" onclick="javascript:return confirm('Are you sure you want to Delete this record?')"><?php echo zen_image(DIR_WS_IMAGES . 'icon_delete.gif', ICON_DELETE); ?></a>
		</td>
	</tr>
	<?php $records->MoveNext(); ?>
<?php } ?>

<?php } else { ?>
	<tr>
		<td class="dataTableContent" colspan="99"><?php echo TEXT_NO_RECORDS; ?></td>
	</tr>
<?php } ?>