Файловый менеджер - Редактировать - /var/www/vhosts/morphe2.dev1.mndrn.cloud/OlD/app/index/index.php_copy
Назад
<?php isGyu(); MethodStandard(); Application('morphea/header/pp:home'); $prodotti = CallFunction('prodotti', 'get_home'); ?> <div class="container_6 clearfix" style="margin-top: 20px"> <div class="grid_6"> <h3 class="Angoli">ultimi prodotti</h3> <? $punt = 0; $punt_a = 0; foreach($prodotti as $pro) { $punt_a++; $cover = CallFunction('photogallery', 'gets', 'prodotto', $pro->getAttr('id')); if($cover) { if(($punt == 0)||($punt == 1)) { echo ' <div class="grid_2 alpha" style="margin-top: 15px;"> <a href="/prodotti/dettaglio/pro:'.$pro->getAttr('id').'" style="text-decoration: none; color: #000000;"> <div class="cont_img"> <img src="/photogallery/render/w:310/h:345/src:'.str_replace(array('/', ':'), array(';', ','), uriUpload.'/'.$cover[0]->getAttr('file')).'" testo="'.$punt_a.'_prodotto" style="width: 310px; height: 345px;"> <div id="'.$punt_a.'_prodotto" class="testoover"><h1 class="testoh1">'.$cover[0]->getAttr('name').'</h1></div> </div> </a> </div>'; } else if($punt == 2) { echo ' <div class="grid_2 omega" style="margin-top: 15px;"> <a href="/prodotti/dettaglio/pro:'.$pro->getAttr('id').'" style="text-decoration: none; color: #000000;"> <div class="cont_img"> <img src="/photogallery/render/w:310/h:160/src:'.str_replace(array('/', ':'), array(';', ','), uriUpload.'/'.$cover[0]->getAttr('file')).'" testo="'.$punt_a.'_prodotto" style="width: 310px; height: 160px;"> <div id="'.$punt_a.'_prodotto" class="testoover"><h1 class="testoh1">'.$cover[0]->getAttr('name').'</h1></div> </div> </a> '; } // else if($punt == 2) // { // echo ' // <a href="/prodotti/dettaglio/pro:'.$pro->getAttr('id').'" style="text-decoration: none; color: #000000;"> // <div class="cont_img" style="margin-top: 17px;"> // // <img src="/photogallery/render/w:310/h:160/src:'.str_replace(array('/', ':'), array(';', ','), uriUpload.'/'.$cover[0]->getAttr('file')).'" testo="3_prodotto" style="width: 310px; height: 160px;"> // <div id="3_prodotto" class="testoover"><h1 class="testoh1">'.$cover[0]->getAttr('name').'</h1><p class="testop" style="display: none;">'.taglia_testo($cover[0]->getAttr('desc'), 90).'</p></div> // </div> // </a> // </div>'; // } $punt++; } } if(($punt < 2)) { // echo '</div>'; } ?> <div> <h3 class="Angoli">news</h3> <p><? $news = FetchObject(Database()->query("SELECT * FROM `news` WHERE visibile=1 ORDER BY data DESC LIMIT 1")); echo '<h1 class="titolo_news"><span style="font-size: 14px;">'.date('d/m/Y', $news->getAttr('data')).'</span> - '.$news->getAttr('nome').'</h1>'; echo '<p>'; echo nl2br(taglia_testo($news->getAttr('descrizione'), 320)); echo '</p>'; ?></p> </div> </div> <div class="clear"></div> <h3 class="Angoli">I nostri Social</h3> <div class="grid_2 omega"> <div style=" margin-top: 5px;"> <div class="fb-like-box" data-href="https://www.facebook.com/MorpheArreda" data-show-faces="false" data-stream="true" data-show-border="true" data-header="false" data-height="400"></div> </div> </div> <div class="grid_2 omega"> <div style=" margin-top: 5px;"> <!-- SnapWidget --> <iframe src="http://snapwidget.com/in/?u=bW9ycGhlYXJyZWRhfGlufDg0fDN8NHx8eWVzfDV8ZmFkZUlu" allowTransparency="true" frameborder="0" scrolling="no" style="border:none; overflow:hidden; width:297px; height: 396px" ></iframe> </div> </div> <div class="grid_2 omega"> <div style=" margin-top: 5px;"> <!-- <h3 class="Angoli NoChiusura" style="margin-bottom: 5px; margin-top: 0px;">twitter<span class="twitter">t</span></h3> --> <a class="twitter-timeline" href="https://twitter.com/MORPHEARREDA" data-widget-id="293741292528209921">Tweets di @MORPHEARREDA</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> </div> </div> </div> <? Application('morphea/footer'); ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.5 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка