Skip to content

Instantly share code, notes, and snippets.

@meeDamian
Created October 28, 2011 10:59
Show Gist options
  • Save meeDamian/1322068 to your computer and use it in GitHub Desktop.
Save meeDamian/1322068 to your computer and use it in GitHub Desktop.
<div id="coupon">
<div id="user_data">
<img id="user_pic" src="<?="cache/avatars/avatar_".$fid.".jpg";?>">
<p id="user_name"><?=$name;?>, oto kupon rabatowy dla Ciebie:</p>
</div>
<a id="coupon_printable" href="<?=$url['print']."?promotion_id=".$promotion_id."&code=".$coupon_id."&fid=".$fid;?>" target="new">
<img src="<?=$coupon_url;?>" alt="coupon" />
</a>
<div id="coupon_options">
<a id="coupon_print" href="<?=$url['print']."?promotion_id=".$promotion_id."&code=".$coupon_id."&fid=".$fid;?>" target="new">Wydrukuj KUPON</a>
<?
/// sending to mobile is disabled
//<a id="coupon_mobile" href="#">Wyślij na komórkę</a>
?>
<p id="coupon_write">albo spisz kod kreskowy i podaj sprzedawcy w sklepie.<br />Numer kodu: <b><?=$coupon_id;?></b></p>
<div style="clear:both;"></div>
<div id="mobile_send">
<p id="mobile_info">Możesz także przesłać kod rabatowy na swój telefon komórkowy. Będzie zawsze pod ręką. Wystarczy, że pokażesz go sprzedawcy przy kasie.</p>
<form action="index.php" method="post" id="mobile_form">
<label for="mobile_number" id="mobile_directional">+48</label>
<input type="text" id="mobile_number" name="mobile_number" />
<input type="hidden" name="fid" value="<?=$fid;?>" />
<input type="submit" id="mobile_submit" value="Wyślij" />
<p id="mobile_permissions">Wpisując numer telefonu, wyrażam zgodę na otrzymywanie informacji marketingowych na podany numer.</p>
</form>
</div>
<div id="info_invs" style="display: none;">Zaproszenia zostały wysłane!</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment