Template für die Statistik des Partnerprogramms, muss in der Shopkonfiguration shop.config konfiguriert werden.
Wegweiser: Eigenes Partnerprogramm betreiben
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Partnerprogramm ~FMSG-Title~</title> <base href="~baseurl~"> <meta http-equiv="Content-Type" content="text/html; charset=~charset~"> <script type="text/javascript" src="/$WS/ws_sysdata/js/osb/jquery.min.js"></script> <script type="text/javascript" src="/$WS/ws_sysdata/js/osb/jquery-ui.min.js"></script> <script type="text/javascript" src="/$WS/ws_sysdata/js/osb/ws-servicedesign.js"></script> <!-- Styles des WEBSALE Online-Servicebereichs, die für den Datepicker benötigt werden --> <link rel="stylesheet" type="text/css" href="https://secure.c1.websale.net/servicebereich/_design/ws-servicedesign.css"> <script type="text/javascript"> var firstClick=true; function checkClick() { var res=firstClick; firstClick=false; return res; } function mouseLeaveEnd() { $("#enddate").datepicker("hide"); } function mouseLeaveStart() { $("#startdate").datepicker("hide"); } function initDatePicker() { $.datepicker.setDefaults($.datepicker.regional['de']); $("#startdate").datepicker({maxDate:'+0d',minDate:'~mindate~',constrainInput:true,buttonText:'~FMSG-Calendar~',buttonImage:'https://secure.c1.websale.net/servicebereich/_design/img/kalender.png',buttonImageOnly:true,showOn:'button',numberOfMonths:[2,2],stepMonths:4}); $("#enddate").datepicker({maxDate:'+0d',minDate:'~mindate~',constrainInput:true,buttonText:'~FMSG-Calendar~',buttonImage:'https://secure.c1.websale.net/servicebereich/_design/img/kalender.png',buttonImageOnly:true,showOn:'button',numberOfMonths:[2,2],stepMonths:4}); $("#enddate").datepicker("widget" ).mouseleave(mouseLeaveEnd); $("#startdate").datepicker("widget" ).mouseleave(mouseLeaveStart); } $(document).ready(function() { initDatePicker(); $(".ui-datepicker-trigger").css("border","1px"); }); </script> </head> <body> <h1>Partnerprogramm-Statistik</h1> <a href="JavaScript:window.close();">Fenster schliessen</a> <h1>~FMSG-evalution~</h1> <form method="post" action="~cgiurl~" name="MainForm" onSubmit="return checkClick();"> <h2>~FMSG-chooseselection~</h2> <table width="100%"> <tr> <td><p>~FMSG-of~</p> <input id="startdate" type="text" name="startdate" value="~startdate~"></td> <td><p>~FMSG-up~</p> <input id="enddate" type="text" name="enddate" value="~enddate~"></td> </tr> <tr> <td>~FMSG-chooseperiod~</td> <td><select name="alttime"> <option value="0"></option> <option value="1">~FMSG-today~</option> <option value="2">~FMSG-yesterday~</option> <option value="8">~FMSG-lastweekday~</option> <option value="9">~FMSG-lfourweekday~</option> <option value="3">~FMSG-thisweek~</option> <option value="4">~FMSG-lastweek~</option> <option value="5">~FMSG-thismonth~</option> <option value="6">~FMSG-lastmonth~</option> <option value="7">~FMSG-thisyear~</option> </select></td> </tr> </table> <input name="ShowBtn" type="submit" value="~FMSG-random~"> </form> ~OutPutDivider~ {ProductData} <table width="100%"> <tr> <td> </td> <td>~THCount~</td> <td>~THNumber~</td> <td >~THName~</td> </tr> {@ProductList} <tr> <td>~num~ </td> <td>~count~ </td> <td>~number~ </td> <td>~name~ </td> </tr> {/@ProductList} </table> {/ProductData} {NoHits} <p>~FMSG-searchresinfo~</p> <p>~FMSG-nosuitabledatarecordsfound~</p> {/NoHits} </body> </html>