Server IP : 23.254.227.96 / Your IP : 216.73.216.46 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/viralblo/instantblog/storage/framework/views/ |
Upload File : |
<!doctype html> <html amp lang="en"> <head> <meta charset="utf-8"> <script async src="https://cdn.ampproject.org/v0.js"></script> <title><?php echo e($post->post_title); ?></title> <link rel="canonical" href="<?php echo e(url('posts/' . $post->post_slug)); ?>"> <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> <script async custom-element="amp-youtube" src="https://cdn.ampproject.org/v0/amp-youtube-0.1.js"></script> <script async custom-element="amp-twitter" src="https://cdn.ampproject.org/v0/amp-twitter-0.1.js"></script> <script async custom-element="amp-instagram" src="https://cdn.ampproject.org/v0/amp-instagram-0.1.js"></script> <script async custom-element="amp-facebook" src="https://cdn.ampproject.org/v0/amp-facebook-0.1.js"></script> <script async custom-element="amp-pinterest" src="https://cdn.ampproject.org/v0/amp-pinterest-0.1.js"></script> <?php if($post->contents): ?> <?php $__currentLoopData = $post->contents; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $content): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($content->type == "tiktok"): ?> <?php $tiktok = true; ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php if(isset($tiktok)): ?> <script async custom-element="amp-tiktok" src="https://cdn.ampproject.org/v0/amp-tiktok-0.1.js"></script> <?php endif; ?> <script async custom-element="amp-social-share" src="https://cdn.ampproject.org/v0/amp-social-share-0.1.js"></script> <?php if($setting->amp_ad_server == "1"): ?> <script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script> <?php endif; ?> <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> <style amp-custom> body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; background-color: #fff; } .amp-ib-header { background: #252830; } .amp-ib-article { color: #353535; font-weight: 400; margin:0 auto; max-width: 840px; overflow-wrap: break-word; word-wrap: break-word; } .amp-ib-header div { color: #fff; font-size: 1em; font-weight: 400; margin: 0 auto; max-width: calc(840px - 32px); padding: .875em 16px; position: relative; } .amp-ib-related a{ display: block; color: #000; background-color: #f5f5f5; text-decoration: none; font-size: 1em; font-weight: 500; margin: 1rem; padding: 15px; position: relative; box-shadow: 0 1px 1px 0 rgba(0,0,0,.14), 0 1px 1px -1px rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12); } .amp-sm-text { font-size: 80%; font-weight: 400; color: #868e96; } .amp-ib-margin { margin-right: 1rem; margin-left: 1rem; } .amp-ib-share { text-align: center; padding: 10px; margin: 15px 0; border-top: 1px solid rgba(0,0,0,0.07); border-bottom: 1px solid rgba(0,0,0,0.07); } </style> </head> <body> <header class="amp-ib-header"> <div> <a href="<?php echo e(url('/')); ?>"> <amp-img src="<?php echo e(url('/images/' . $setting->site_logo)); ?>" width="200" height="35"></amp-img> </a> </div> </header> <article class="amp-ib-article"> <?php if(!empty($post->post_video)): ?> <amp-youtube data-videoid="<?php echo e($post->post_video); ?>" layout="responsive" width="480" height="270"></amp-youtube> <?php elseif(!empty($post->post_media)): ?> <?php list($width, $height) = getimagesize(asset('/uploads/' . $post->post_media)); ?> <amp-img src="<?php echo e(url('/uploads/' . $post->post_media)); ?>" width="<?php echo e($width); ?>" height="<?php echo e($height); ?>" layout="responsive"></amp-img> <?php endif; ?> <h1 class="amp-ib-margin"><?php echo e($post->post_title); ?></h1> <?php if(!empty($post->post_desc)): ?> <p class="amp-ib-margin"><?php echo e($post->post_desc); ?></p> <?php endif; ?> <p class="amp-ib-margin amp-sm-text"><?php echo e($post->created_at); ?> - <?php echo e($post->user->name); ?></p> <?php if($setting->amp_ad_server == "1"): ?> <?php echo $setting->amp_adscode; ?> <?php endif; ?> <?php if($post->contents): ?> <?php $__currentLoopData = $post->contents; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $content): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($content->type == "header"): ?> <h2 class="amp-ib-margin"><?php echo e($content->body); ?></h2> <?php endif; ?> <?php if($content->type == "text"): ?> <p class="amp-ib-margin"><?php echo e($content->body); ?></p> <?php endif; ?> <?php if($content->type == "txteditor"): ?> <div class="amp-ib-margin"> <?php echo clean( $content->body ); ?> </div> <?php endif; ?> <?php if($content->type == "image"): ?> <?php list($width, $height) = getimagesize(asset('/uploads/' . $content->body)); ?> <?php if(!empty($content->link)): ?> <a href="<?php echo e($content->link); ?>" target="<?php echo e($content->blank == '0' ? '_self' : '_blank'); ?>"> <amp-img src="<?php echo e(url('/uploads/' . $content->body)); ?>" width="<?php echo e($width); ?>" height="<?php echo e($height); ?>" layout="responsive"></amp-img> </a> <?php else: ?> <amp-img src="<?php echo e(url('/uploads/' . $content->body)); ?>" width="<?php echo e($width); ?>" height="<?php echo e($height); ?>" layout="responsive"></amp-img> <?php endif; ?> <?php endif; ?> <?php if($content->type == "youtube"): ?> <amp-youtube data-videoid="<?php echo e($content->body); ?>" layout="responsive" width="480" height="270"></amp-youtube> <?php endif; ?> <?php if($content->type == "tweet"): ?> <amp-twitter width="552" height="310" layout="responsive" data-tweetid="<?php echo e($content->embed->short_url); ?>"> </amp-twitter> <?php endif; ?> <?php if($content->type == "facebook"): ?> <amp-facebook width="552" height="310" layout="responsive" data-href="<?php echo e($content->embed->url); ?>"> </amp-facebook> <?php endif; ?> <?php if($content->type == "instagram"): ?> <amp-instagram data-shortcode="<?php echo e($content->embed->short_url); ?>" width="552" height="310" layout="responsive"> </amp-instagram> <?php endif; ?> <?php if($content->type == "pinterest"): ?> <amp-pinterest width="552" height="310" layout="responsive" data-do="embedPin" data-width="medium" data-url="<?php echo e($content->embed->url); ?>"> </amp-pinterest> <?php endif; ?> <?php if($content->type == "tiktok"): ?> <amp-tiktok width="552" height="310" layout="responsive" data-src="<?php echo e($content->embed->short_url); ?>" ></amp-tiktok> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php if($setting->amp_ad_server == "1"): ?> <?php echo $setting->amp_adscode; ?> <?php endif; ?> <div class="amp-ib-share"> <amp-social-share type="twitter"></amp-social-share> <amp-social-share type="facebook" data-param-app_id="<?php echo e(env('FACEBOOK_API_ID')); ?>"></amp-social-share> <amp-social-share type="gplus"></amp-social-share> <amp-social-share type="linkedin"></amp-social-share> <amp-social-share type="pinterest" data-param-url="<?php echo e(url('posts/' . $post->post_slug)); ?>"></amp-social-share> </div> <?php if(!empty($related)): ?> <h2 class="amp-ib-margin"><?php echo app('translator')->get('messages.morepost'); ?></h2> <?php $__currentLoopData = $related; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $relatedpost): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="amp-ib-related"> <a href="<?php echo e(url('/posts/' . $relatedpost->post_slug . '/amp')); ?>"> <span><?php echo e(str_limit($relatedpost->post_title, 60)); ?></span> </a> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </article> </body> </html><?php /**PATH /home/viralblo/instantblog/resources/views/public/showamp.blade.php ENDPATH**/ ?>