Commit b717c78b35baca8dc3b1252aa0bdbf301efcc778
1 parent
5789980b
delete old code
Showing
1 changed file
with
0 additions
and
111 deletions
Show diff stats
frontend/views/layouts/main.php
@@ -836,118 +836,7 @@ | @@ -836,118 +836,7 @@ | ||
836 | 836 | ||
837 | </div> | 837 | </div> |
838 | 838 | ||
839 | - <?php | ||
840 | - $old = false; | ||
841 | - if ($old) { ?> | ||
842 | - <div class="row" itemscope itemtype="http://schema.org/Organization"> | ||
843 | - <div class="col-md-5 col-sm-12"> | ||
844 | - <?php | ||
845 | - if (!empty($settings->about)) { | ||
846 | - ?> | ||
847 | - <div class="h4" itemprop="description"><?php echo \Yii::t('app', 'About us'); ?></div> | ||
848 | - <p style="max-width: 235px;"><?php echo \Yii::t('app', $settings->about); ?></p> | ||
849 | - <?php | ||
850 | - } | ||
851 | - ?> | ||
852 | - <a href="#" class="btn btn-template-transparent-primary press-callback" data-toggle="modal" data-target="#feedback-modal"><?php echo \Yii::t( | ||
853 | - 'app', | ||
854 | - 'Contact us' | ||
855 | - ); ?></a> | ||
856 | - <div class="bottom-text-in hidden-sm hidden-xs"> | ||
857 | - <p class="pull-left"> | ||
858 | - <a href="//artweb.ua" class="copylink"><?=\Yii::t('app', 'copylink')?></a> | ||
859 | - © <?= date( | ||
860 | - 'Y' | ||
861 | - ) ?>. <?= $settings->name; ?>. <?=\Yii::t('app', 'footer_all_rights')?>.<br/> | ||
862 | - <?=\Yii::t('app', 'footer_using_mats')?>.</p> | ||
863 | - </div> | ||
864 | - </div> | ||
865 | 839 | ||
866 | - <div class="col-md-3 col-sm-12"> | ||
867 | - <div class="h4"><?php echo \Yii::t('app', 'NewsFollow'); ?></div> | ||
868 | - <div class="social-logos"> | ||
869 | - <span> | ||
870 | - <?php | ||
871 | - if($settings->vk != '') echo '<a href="'.$settings->vk.'" class="logoscnet"><i class="fa fa-vk" aria-hidden="true"></i></a>'; | ||
872 | - if($settings->facebook != '') echo '<a href="'.$settings->facebook.'" class="logoscnet"><i class="fa fa-facebook" aria-hidden="true"></i></a>'; | ||
873 | - if($settings->google != '') echo '<a href="'.$settings->google.'" class="logoscnet"><i class="fa fa-google-plus" aria-hidden="true"></i></a>'; | ||
874 | - if($settings->twitter != '') echo '<a href="'.$settings->twitter.'" class="logoscnet"><i class="fa fa-twitter" aria-hidden="true"></i></a>'; | ||
875 | - ?> | ||
876 | - </span> | ||
877 | - </div> | ||
878 | - </div> | ||
879 | - <div class="col-md-4 col-sm-12"> | ||
880 | - | ||
881 | - <div class="h4"><?php echo \Yii::t('app', 'Contact'); ?></div> | ||
882 | - | ||
883 | - <p> | ||
884 | - <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> | ||
885 | - <table border="0" class="address_footer_table"> | ||
886 | - <tr><td><b><i class="fa fa-map-marker" aria-hidden="true"></i></b></td><td><span itemprop="postalCode">02095</span>, <span itemprop="addressCountry"><?=\Yii::t('app', $settings->country)?></span>, <?=\Yii::t('app', 'city_short')?>. <span itemprop="addressLocality"><?=\Yii::t('app', $settings->city)?></span> <br/><span itemprop="streetAddress"><?=\Yii::t('app', $settings->street)?>, <?=\Yii::t('app', $settings->house)?>, <?=\Yii::t('app', 'office')?> <?=\Yii::t('app', $settings->office)?></span></td></tr> | ||
887 | - <?php | ||
888 | - if(!empty($settings->phone)){ | ||
889 | - echo '<tr><td><b><i class="fa fa-phone" aria-hidden="true"></i></b></td><td><a href="tel:'.$settings->phone.'"><span itemprop="telephone">'.$settings->phone.'</span></a>'; | ||
890 | - if(!empty($settings->phone2)){ | ||
891 | - echo '<br/><a href="tel:'.$settings->phone2.'"><span itemprop="telephone">'.$settings->phone2.'</span></a></td></tr>'; | ||
892 | - } | ||
893 | - else{ | ||
894 | - echo '</td></tr>'; | ||
895 | - } | ||
896 | - } | ||
897 | - ?> | ||
898 | - <tr><td><b><i class="fa fa-envelope" aria-hidden="true"></i></b></td><td><span itemprop="email"><a href="mailto:<?=$settings->email?>"><?=$settings->email?></a></span></td></tr> | ||
899 | - </table> | ||
900 | - </div> | ||
901 | - </p> | ||
902 | - <!-- --><?php | ||
903 | - // if (!empty($settings->office)) { | ||
904 | - // echo \Yii::t( | ||
905 | - // 'app', | ||
906 | - // 'Office {office}', | ||
907 | - // [ | ||
908 | - // 'office' => $settings->office, | ||
909 | - // ] | ||
910 | - // ) . Html::tag('br'); | ||
911 | - // } | ||
912 | - // if (!empty($settings->street)) { | ||
913 | - // echo $settings->street; | ||
914 | - // if (!empty($settings->house)) { | ||
915 | - // echo " " . $settings->house; | ||
916 | - // } | ||
917 | - // echo Html::tag('br'); | ||
918 | - // } | ||
919 | - // if (!empty($settings->city)) { | ||
920 | - // echo $settings->city; | ||
921 | - // echo Html::tag('br'); | ||
922 | - // } | ||
923 | - // if (!empty($settings->country)) { | ||
924 | - // echo Html::tag('strong', $settings->country); | ||
925 | - // } | ||
926 | - // ?> | ||
927 | - | ||
928 | - <?= Html::a( | ||
929 | - \Yii::t('app', 'Go to contact page'), | ||
930 | - [ 'site/contact' ], | ||
931 | - [ | ||
932 | - 'class' => 'btn btn-small btn-template-transparent-primary', | ||
933 | - ] | ||
934 | - ) ?> | ||
935 | - | ||
936 | - <hr class="hidden-md hidden-lg hidden-sm"> | ||
937 | - | ||
938 | - </div> | ||
939 | - | ||
940 | - | ||
941 | - <div class="col-md-12 bottom-text hidden-md hidden-lg"> | ||
942 | - <a href="//artweb.ua" class="copylink mobile-cp"><?=\Yii::t('app', 'copylink')?></a> | ||
943 | - <p class="pull-left">© <?= date( | ||
944 | - 'Y' | ||
945 | - ) ?>. <?= $settings->name; ?>. <?=\Yii::t('app', 'footer_all_rights')?>.<br/> | ||
946 | - <?=\Yii::t('app', 'footer_using_mats')?>.</p> | ||
947 | - </div> | ||
948 | - </div> | ||
949 | - <?php } | ||
950 | - ?> | ||
951 | </div> | 840 | </div> |
952 | <!-- /.container --> | 841 | <!-- /.container --> |
953 | </footer> | 842 | </footer> |