Code Context <link rel="icon" href="../../favicon.ico">
<title><?php echo $title; ?> - AS Advisory</title>
$viewFile = '/home/asadvisor1/public_html/app/View/Layouts/default.ctp'
$dataForView = array(
'resource' => array(
'Resource' => array(
'resourceID' => '4',
'filePath' => 'file/contentBlocks.csv',
'name' => 'Upload 4',
'price' => '0.00',
'description' => 'This is the fourth test item',
'summary' => 'This is a free download',
'thumbnail' => 'image.png',
'category_id' => '1'
),
'Category' => array(
'categoryID' => '1',
'name' => 'Operational',
'description' => 'Operational Description'
),
'Download' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
),
(int) 13 => array(
[maximum depth reached]
),
(int) 14 => array(
[maximum depth reached]
),
(int) 15 => array(
[maximum depth reached]
),
(int) 16 => array(
[maximum depth reached]
),
(int) 17 => array(
[maximum depth reached]
),
(int) 18 => array(
[maximum depth reached]
),
(int) 19 => array(
[maximum depth reached]
),
(int) 20 => array(
[maximum depth reached]
),
(int) 21 => array(
[maximum depth reached]
),
(int) 22 => array(
[maximum depth reached]
),
(int) 23 => array(
[maximum depth reached]
)
),
'ResourceTag' => array(
(int) 0 => array(
[maximum depth reached]
)
)
),
'loggedIn' => false,
'content_for_layout' => '<section class="fwSection no-carousel">
<div class="container marketing">
<div class="row featurette">
<div class="col-xs-12 titleCont">
<h1 class="featurette-heading mainPage-title">Upload 4</h1>
</div>
</div>
</div>
</section>
<section class="fwSection">
<div class="container marketing">
<div class="row featurette">
<form action="/resources/purchase/1" id="ResourcePurchaseForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div> <div class="col-md-7">
<img src="/img/image.png" class="featurette-image img-responsive" alt="" /> <h2>Upload 4</h2>
<p>This is a free download</p>
<!-- Add file format info? -->
<!--p>< ?php echo $resource['Resource']['format']; ?></p-->
<p>$0.00</p>
<!-- INFO: The post URL "checkout.php" is invoked when clicked on "Pay with PayPal" button.-->
<!--?php echo $this->Form->create('Resource', array('action' => 'purchase', 'novalidate' => 'false')); ?-->
<!-- ?php echo $this->Form->end(); ?-->
<!--p><a class="btn btn-default" href="#" role="button">View details »</a>
</p-->
</div>
<div class="col-md-5">
<form action="/resources/purchase/1" id="ResourcePurchaseForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div> <fieldset>
<div class="download-header">
<legend><h2 class="download-header">Enter your details to receive your download link</legend></h2></div>
<input type="hidden" name="data[Resource][price]" value="0.00" id="ResourcePrice"/><input type="hidden" name="data[Resource][name]" value="Upload 4" id="ResourceName"/><input type="hidden" name="data[Resource][description]" value="This is the fourth test item" id="ResourceDescription"/><input type="hidden" name="data[Resource][resourceID]" value="4" id="ResourceResourceID"/><div class="input text"><label for="LeadName">Name</label><input name="data[Lead][name]" type="text" id="LeadName"/></div><div class="input email"><label for="LeadEmail">Email</label><input name="data[Lead][email]" type="email" id="LeadEmail"/></div> </fieldset>
<div class="row" style="padding-top: 1em;">
<div class="col-xs-6" style="text-align:right;">
<div class="submit"><input class="btn btn-default" type="submit" value="Submit"/></div></form> </div>
<div class="col-xs-6" style="text-align:left;">
<a href="/resources/view/4" class="btn btn-default">Cancel</a> </div>
</div>
</div>
</div>
</div>
</section>
<!-- Add Digital goods in-context experience. Ensure that this script is added before the closing of html body tag -->
<script src='https://www.paypalobjects.com/js/external/dg.js' type='text/javascript'></script>
<script>
var dg = new PAYPAL.apps.DGFlow({
trigger: 'paypal_submit',
expType: 'instant'
//PayPal will decide the experience type for the buyer based on his/her 'Remember me on your computer' option.
});
</script>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Resources'
)
$resource = array(
'Resource' => array(
'resourceID' => '4',
'filePath' => 'file/contentBlocks.csv',
'name' => 'Upload 4',
'price' => '0.00',
'description' => 'This is the fourth test item',
'summary' => 'This is a free download',
'thumbnail' => 'image.png',
'category_id' => '1'
),
'Category' => array(
'categoryID' => '1',
'name' => 'Operational',
'description' => 'Operational Description'
),
'Download' => array(
(int) 0 => array(
'downloadID' => '4',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-01-21 21:15:15',
'payment_id' => null
),
(int) 1 => array(
'downloadID' => '5',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-01-21 21:16:45',
'payment_id' => null
),
(int) 2 => array(
'downloadID' => '6',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-01-21 21:17:26',
'payment_id' => null
),
(int) 3 => array(
'downloadID' => '7',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-01-21 21:21:44',
'payment_id' => null
),
(int) 4 => array(
'downloadID' => '8',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-01-21 21:22:41',
'payment_id' => null
),
(int) 5 => array(
'downloadID' => '9',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-01-21 21:23:08',
'payment_id' => null
),
(int) 6 => array(
'downloadID' => '10',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-01-21 21:24:12',
'payment_id' => null
),
(int) 7 => array(
'downloadID' => '11',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-01-21 21:26:30',
'payment_id' => null
),
(int) 8 => array(
'downloadID' => '12',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-01-21 21:28:35',
'payment_id' => null
),
(int) 9 => array(
'downloadID' => '13',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-01-22 20:45:51',
'payment_id' => null
),
(int) 10 => array(
'downloadID' => '14',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-01-22 20:53:45',
'payment_id' => null
),
(int) 11 => array(
'downloadID' => '15',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-01-22 20:57:16',
'payment_id' => null
),
(int) 12 => array(
'downloadID' => '16',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-01-22 20:59:26',
'payment_id' => null
),
(int) 13 => array(
'downloadID' => '17',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-01-22 20:59:39',
'payment_id' => null
),
(int) 14 => array(
'downloadID' => '18',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-01-23 09:27:54',
'payment_id' => null
),
(int) 15 => array(
'downloadID' => '50',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-02-09 18:57:05',
'payment_id' => null
),
(int) 16 => array(
'downloadID' => '51',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-02-09 18:59:20',
'payment_id' => null
),
(int) 17 => array(
'downloadID' => '52',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-02-09 19:03:57',
'payment_id' => null
),
(int) 18 => array(
'downloadID' => '53',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-02-09 19:04:28',
'payment_id' => null
),
(int) 19 => array(
'downloadID' => '54',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-02-09 19:04:55',
'payment_id' => null
),
(int) 20 => array(
'downloadID' => '55',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-02-09 19:13:49',
'payment_id' => null
),
(int) 21 => array(
'downloadID' => '56',
'resource_id' => '4',
'email' => 'fuzor@hotmail.com',
'created' => '2015-02-09 19:17:16',
'payment_id' => null
),
(int) 22 => array(
'downloadID' => '72',
'resource_id' => '4',
'email' => 'jake@l0r3.com',
'created' => '2015-02-10 12:17:50',
'payment_id' => null
),
(int) 23 => array(
'downloadID' => '75',
'resource_id' => '4',
'email' => 'andrew047@bigpond.com',
'created' => '2015-02-11 21:10:09',
'payment_id' => null
)
),
'ResourceTag' => array(
(int) 0 => array(
'resourceTagID' => '6',
'tag_name' => 'Quantification',
'resource_id' => '4'
)
)
)
$loggedIn = false
$content_for_layout = '<section class="fwSection no-carousel">
<div class="container marketing">
<div class="row featurette">
<div class="col-xs-12 titleCont">
<h1 class="featurette-heading mainPage-title">Upload 4</h1>
</div>
</div>
</div>
</section>
<section class="fwSection">
<div class="container marketing">
<div class="row featurette">
<form action="/resources/purchase/1" id="ResourcePurchaseForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div> <div class="col-md-7">
<img src="/img/image.png" class="featurette-image img-responsive" alt="" /> <h2>Upload 4</h2>
<p>This is a free download</p>
<!-- Add file format info? -->
<!--p>< ?php echo $resource['Resource']['format']; ?></p-->
<p>$0.00</p>
<!-- INFO: The post URL "checkout.php" is invoked when clicked on "Pay with PayPal" button.-->
<!--?php echo $this->Form->create('Resource', array('action' => 'purchase', 'novalidate' => 'false')); ?-->
<!-- ?php echo $this->Form->end(); ?-->
<!--p><a class="btn btn-default" href="#" role="button">View details »</a>
</p-->
</div>
<div class="col-md-5">
<form action="/resources/purchase/1" id="ResourcePurchaseForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div> <fieldset>
<div class="download-header">
<legend><h2 class="download-header">Enter your details to receive your download link</legend></h2></div>
<input type="hidden" name="data[Resource][price]" value="0.00" id="ResourcePrice"/><input type="hidden" name="data[Resource][name]" value="Upload 4" id="ResourceName"/><input type="hidden" name="data[Resource][description]" value="This is the fourth test item" id="ResourceDescription"/><input type="hidden" name="data[Resource][resourceID]" value="4" id="ResourceResourceID"/><div class="input text"><label for="LeadName">Name</label><input name="data[Lead][name]" type="text" id="LeadName"/></div><div class="input email"><label for="LeadEmail">Email</label><input name="data[Lead][email]" type="email" id="LeadEmail"/></div> </fieldset>
<div class="row" style="padding-top: 1em;">
<div class="col-xs-6" style="text-align:right;">
<div class="submit"><input class="btn btn-default" type="submit" value="Submit"/></div></form> </div>
<div class="col-xs-6" style="text-align:left;">
<a href="/resources/view/4" class="btn btn-default">Cancel</a> </div>
</div>
</div>
</div>
</div>
</section>
<!-- Add Digital goods in-context experience. Ensure that this script is added before the closing of html body tag -->
<script src='https://www.paypalobjects.com/js/external/dg.js' type='text/javascript'></script>
<script>
var dg = new PAYPAL.apps.DGFlow({
trigger: 'paypal_submit',
expType: 'instant'
//PayPal will decide the experience type for the buyer based on his/her 'Remember me on your computer' option.
});
</script>
'
$scripts_for_layout = ''
$title_for_layout = 'Resources'
$cakeDescription = 'CakePHP: the rapid development php framework'
$cakeVersion = 'CakePHP 2.5.5'include - APP/View/Layouts/default.ctp, line 31
View::_evaluate() - CORE/Cake/View/View.php, line 948
View::_render() - CORE/Cake/View/View.php, line 910
View::renderLayout() - CORE/Cake/View/View.php, line 542
View::render() - CORE/Cake/View/View.php, line 479
Controller::render() - CORE/Cake/Controller/Controller.php, line 954
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 198
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 108