Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
59 lines (48 sloc) 2.53 KB
@using Gourl.GoUrlCore
@model Gourl.Models.GoUrl.DisplayCryptoboxModel
ViewBag.Title = "Pay Per Page Multi";
Layout = "~/Views/Shared/_Layout.cshtml";
<div align='center'>
<div style='width:100%;height:auto;line-height:50px;background-color:#f1f1f1;border-bottom:1px solid #ddd;color:#49abe9;font-size:18px;'>
10. Gourl <b>Pay-Per-View/Page</b> Example (multiple cryptocurrencies). Use it on your website.
<div style='float: right;'>
<a style='font-size: 15px; color: #389ad8; margin-right: 20px' href=''>View Source</a>
<a style='font-size: 15px; color: #389ad8; margin-right: 20px' href=@Url.Action("PayPerDownloadMulti", "Examples" )@Request.Url.Query.ToString()>Single Crypto</a>
<a style='font-size:15px;color:#389ad8;margin-right:20px' href=''>Other Examples</a>
<h1>Example - Pay Per View - Video/Page Access for Unregistered Visitors (multi coins below)</h1>
<h3>Your Website Visitors have to pay for access to your premium video/webpage(s)</h3>
Price: ~@Model.amountUSD US$ for @Model.period access
@if (@Model.is_paid)
<!-- Successful Cryptocoin Payment received -->
<!-- You can use the same payment gateway code for few your pages (section1) -->
<!-- Your Premium Page(s) Code -->
<h2 style='color: #339e2e;'>
Cryptocoin Payment received<br>Successful Access to Premium Page (during @Model.period)
<img alt='Pay Per View Access' border='0' src=''>
<!-- Awaiting Payment -->
<a href='#gourlcryptocoins'><img alt='Awaiting Payment - Pay Per View' border='0' src=''></a>
if (!Model.is_paid)
@Html.CurrencyBox((string [])ViewBag.Coins, (string)ViewBag.DefCoin, (string)ViewBag.DefLang, 90, new {style="margin: 80px 0 0 0"})
<div style='font-size: 12px; margin: 30px 0 5px 370px'>Language: &#160; @Html.LanguageBox() </div>
@Html.Cryptobox(Model, true, 540, 230, new {style = "padding:3px 6px;margin:10px"})
<div style='position:absolute;left:0;'><a target="_blank" href=""><img src="" alt="Valid HTML 4.01 Transitional"></a></div>