[ Index ] |
PHP Cross Reference of osCMax 2.0.4 |
[Summary view] [Print] [Text view]
1 <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> 2 <tr> 3 <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> 4 <tr> 5 <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> 6 <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'affiliate_clicks.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> 7 </tr> 8 </table></td> 9 </tr> 10 <tr> 11 <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 12 </tr> 13 <tr> 14 <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> 15 <tr> 16 <td class="main" colspan="4"><?php echo TEXT_AFFILIATE_HEADER . ' <b>' . $affiliate_clickthroughs_numrows; ?></b></td> 17 </tr> 18 </table></td> 19 </tr> 20 <tr> 21 <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 22 </tr> 23 <tr> 24 <td><table border="0" width="100%" cellspacing="0" cellpadding="4"> 25 <tr> 26 <td class="infoBoxHeading"><?php echo TABLE_HEADING_DATE; ?><?php echo '<a href="javascript:popupWindow(\'' . tep_href_link(FILENAME_AFFILIATE_HELP_9) . '\')"> ' . TEXT_CLICKTHROUGH_HELP . '</a>'; ?></td> 27 <td class="infoBoxHeading"><?php echo TABLE_HEADING_CLICKED_PRODUCT; ?><?php echo '<a href="javascript:popupWindow(\'' . tep_href_link(FILENAME_AFFILIATE_HELP_10) . '\')"> ' . TEXT_CLICKTHROUGH_HELP . '</a>'; ?></td> 28 <td class="infoBoxHeading"><?php echo TABLE_HEADING_REFFERED; ?><?php echo '<a href="javascript:popupWindow(\'' . tep_href_link(FILENAME_AFFILIATE_HELP_11) . '\')"> ' . TEXT_CLICKTHROUGH_HELP . '</a>'; ?></td> 29 </tr> 30 <?php 31 if ($affiliate_clickthroughs_split->number_of_rows > 0) { 32 $affiliate_clickthroughs_values = tep_db_query($affiliate_clickthroughs_split->sql_query); 33 $number_of_clickthroughs = '0'; 34 while ($affiliate_clickthroughs = tep_db_fetch_array($affiliate_clickthroughs_values)) { 35 $number_of_clickthroughs++; 36 37 if (($number_of_clickthroughs / 2) == floor($number_of_clickthroughs / 2)) { 38 echo ' <tr class="productListing-even">'; 39 } else { 40 echo ' <tr class="productListing-odd">'; 41 } 42 ?> 43 <td class="smallText"><?php echo tep_date_short($affiliate_clickthroughs['affiliate_clientdate']); ?></td> 44 <?php 45 if ($affiliate_clickthroughs['affiliate_products_id'] > 0) { 46 $link_to = '<a href="' . tep_href_link (FILENAME_PRODUCT_INFO, 'products_id=' . $affiliate_clickthroughs['affiliate_products_id']) . '" target="_blank">' . $affiliate_clickthroughs['products_name'] . '</a>'; 47 } else { 48 $link_to = "Startpage"; 49 } 50 ?> 51 <td class="smallText"><?php echo $link_to; ?></td> 52 <td class="smallText"><?php echo $affiliate_clickthroughs['affiliate_clientreferer']; ?></td> 53 </tr> 54 <?php 55 } 56 } else { 57 ?> 58 <tr class="productListing-odd"> 59 <td colspan="4" class="smallText"><?php echo TEXT_NO_CLICKS; ?></td> 60 </tr> 61 <?php 62 } 63 ?> 64 <tr> 65 <td colspan="4"><?php echo tep_draw_separator(); ?></td> 66 </tr> 67 <?php 68 if ($affiliate_clickthroughs_split->number_of_rows > 0) { 69 ?> 70 <tr> 71 <td colspan="4"><table border="0" width="100%" cellspacing="0" cellpadding="0"> 72 <tr> 73 <td class="smallText"><?php echo $affiliate_clickthroughs_split->display_count(TEXT_DISPLAY_NUMBER_OF_CLICKS); ?></td> 74 <td align="right" class="smallText"><?php echo TEXT_RESULT_PAGE; ?> <?php echo $affiliate_clickthroughs_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> 75 </tr> 76 </table></td> 77 </tr> 78 <?php 79 } 80 ?> 81 <tr> 82 <td colspan="4"><?php echo tep_draw_separator(); ?></td> 83 </tr> 84 <tr> 85 <td align="center" class="boxtext" colspan="4"><b><?php echo TEXT_CLICKS; ?><b></td> 86 </tr> 87 <tr> 88 <td colspan="4"><?php echo tep_draw_separator(); ?></td> 89 </tr> 90 </table></td> 91 </tr> 92 </table>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Jan 1 13:43:16 2010 | Cross-referenced by PHPXref 0.7 |