0byt3m1n1
Path:
/
data
/
applications
/
aps
/
gallery
/
2.2-08
/
htdocs
/
modules
/
digibug
/
templates
/
[
Home
]
File: DigibugPrintPhotos.tpl
{* * $Revision: 15342 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>digibug</title> {* Only submit the form once.. *} <script type="text/javascript">{literal} // <![CDATA[ function go() { if (document.cookie.indexOf('G2_digibug=') >= 0) { var d = new Date(); d.setTime(d.getTime() - 10000); document.cookie = 'G2_digibug=0;expires=' + d.toUTCString(); document.getElementById('digibugForm').submit(); } else { history.back(); } } // ]]> {/literal}</script> </head> <body onload="go()"> <form action="http://www.digibug.com/dapi/order.php" method="POST" id="digibugForm"> <input type="hidden" name="digibug_api_version" value="100"/> <input type="hidden" name="company_id" value="{$DigibugPrintPhotos.params.digibugCustomerId}"/> <input type="hidden" name="event_id" value="{$DigibugPrintPhotos.params.digibugPricelistId}"/> <input type="hidden" name="cmd" value="addimg"/> <input type="hidden" name="partner_code" value="69"/> <input type="hidden" name="return_url" value="{$DigibugPrintPhotos.returnUrl}"/> <input type="hidden" name="num_images" value="{$DigibugPrintPhotos.count}"/> {foreach from=$DigibugPrintPhotos.entries key=index item=entry} <input type="hidden" name="image_{$index}" value="{$entry.imageUrl}"/> <input type="hidden" name="image_width_{$index}" value="{$entry.imageWidth}"/> <input type="hidden" name="image_height_{$index}" value="{$entry.imageHeight}"/> {if isset($entry.thumbUrl)} <input type="hidden" name="thumb_{$index}" value="{$entry.thumbUrl}"/> <input type="hidden" name="thumb_width_{$index}" value="{$entry.thumbWidth}"/> <input type="hidden" name="thumb_height_{$index}" value="{$entry.thumbHeight}"/> {/if} {if !empty($entry.item.title)} <input type="hidden" name="backtext_{$index}" value="{$entry.item.title|markup:none}"/> {/if} {/foreach} </form> <noscript> <input type="submit"/> </noscript> </body> </html>