whoami7 - Manager
:
/
proc
/
thread-self
/
root
/
proc
/
self
/
root
/
home
/
papecmvm
/
www
/
application
/
views
/
Web
/
Template
/
Upload File:
files >> //proc/thread-self/root/proc/self/root/home/papecmvm/www/application/views/Web/Template/service.php
<?php $CI =& get_instance(); $offset=$this->uri->segment(1); echo "<style>.".$offset.">a{ border-left: 2px solid #035287!important;}</style>"; echo "<style>.".$offset."menu>a{ color:#035287!important;}</style>"; echo "<style>.main_".$offset.">a{ color:#035287!important;}</style>"; ?> <style type="text/css"> .inner-head>h1{ color: #3b8aaa; } .inner-content h2{color: #000;} .embed-responsive{ display:none; } .acc p{ padding-top:2rem; padding-left:4rem; } </style> <div class="ser ser2"> <div class="block2"></div> <div class="container-fluid"> <div class="inner-head"> <h1><?php echo $viewdata[0]['content_title']; ?></h1> </div> </div> <div class="block2"></div> <div class="row no-gutters"> <div class="col-sm-12"> <div class="container-fluid"> <?php $chead=explode('|-|',$viewdata[0]['content_head']); $ccontent=explode('|-|',$viewdata[0]['content_text']); //print_r($chead); ?> <?php if(count($ccontent)==1){ ?> <div class="inner-content ser-table"> <div class="row"> <?php if($viewdata[0]['banner_images']!=""){ ?> <div class="col-sm-8"> <?php }else{ ?> <div class="col-sm-12"> <?php } ?> <?php echo $ccontent[0]; ?> </div> <?php if($viewdata[0]['banner_images']!=""){ ?> <div class="col-sm-4 post" data-aos="fade-left" data-aos-duration="2000"> <?php if($viewdata[0]['banner_images']!=""){ ?> <?php $CI->singleslider($viewdata[0]['banner_images']);?> <?php } ?> </div> <?php } ?> </div> <!--<div class="block"></div>--> <?php /* <div class="row"> <?php $p_head=explode('|-|',$plan[0]['content_head']); $p_cont=explode('|-|',$plan[0]['contentpost']); for($j=0; $j<count($p_head); $j++){ ?> <div class="col-lg-4 col-sm-6 col-xs-12 text-center"> <div class="gold hvr-shrink"> <div class="gold-head"> <p><span style="color:#d92d63; font-size: 36px;"><?php echo $p_head[$j]; ?></span></p> </div> <?php echo $p_cont[$j]; ?> </div> </div> <?php } ?> </div> */ ?> </div> <?php }else{ ?> <ul class="nav nav-pills justify-content-center my-nav-tabs" id="myTab" role="tablist"> <?php for($i=0; $i<count($chead); $i++){ ?> <li class="nav-item"> <a onclick="change('<?php echo $i; ?>')" class="nav-link <?php if($i == 1){echo 'active';} ?>" id="home-<?php echo $i; ?>" data-toggle="tab" href="#<?php echo $i; ?>" role="tab" aria-controls="home" aria-selected="true"><?php echo $chead[$i]; ?></a> </li> <?php } ?> </ul> <div class="tab-content" id="myTabContent"> <?php for($k=0; $k<count($chead); $k++){ ?> <div class="tab-pane fade <?php if($k == 1){echo 'show active';} ?>" id="<?php echo $k; ?>" role="tabpanel" aria-labelledby="home-<?php echo $k; ?>"> <div class="inner-content"> <?php echo $ccontent[$k]; ?> <div class="block"></div> <?php /* <div class="row"> <?php $p_head=explode('|-|',$plan[0]['content_head']); $p_cont=explode('|-|',$plan[0]['contentpost']); for($j=0; $j<count($p_head); $j++){ ?> <div class="col-lg-4 col-sm-6 col-xs-12 text-center"> <div class="gold hvr-shrink"> <div class="gold-head"> <p><span style="color:#d92d63; font-size: 36px;"><?php echo $p_head[$j]; ?></span></p> </div> <?php echo $p_cont[$j]; ?> </div> </div> <?php } ?> </div> */ ?> </div> </div> <?php } ?> </div> <?php } ?> </div> </div> </div> <!--<div class="block"></div>--> <?php if($chead[0] == 'plans and pricing'){ ?> <div class="col-sm-12 oh"> <br> <div class="row"> <div class="col-lg-4 col-sm-6 col-xs-12 text-center"> <div class="gold hvr-shrink"> <div class="gold-head"> <p><span style="color:#d92d63; font-size: 36px;">Standards</span></p> </div> <h5></h5> <img src="<?php echo base_url().'bootstrap/images/home1.png'; ?>" height="150" width="150"> <div class="res-content"> <h2>Custom pricing</h2> <p></p> <a href="<?php echo base_url().'contact'; ?>" class="btn btn-danger">Contact us</a> </div> </div> </div> <div class="col-lg-4 col-sm-6 col-xs-12 text-center"> <div class="gold hvr-shrink"> <div class="gold-head"> <p><span style="color:#d92d63; font-size: 36px;">Business</span> <span class="badge badge-success">Most Popular</span></p> </div> <h5></h5> <img src="<?php echo base_url().'bootstrap/images/home2.png'; ?>" height="150" width="150"> <div class="res-content"> <h2>Custom pricing</h2> <p></p> <a href="<?php echo base_url().'contact'; ?>" class="btn btn-danger">Contact us</a> </div> </div> </div> <div class="col-lg-4 col-sm-6 col-xs-12 text-center"> <div class="gold hvr-shrink"> <div class="gold-head"> <p><span style="color:#d92d63; font-size: 36px;">Enterprise</span></p> </div> <h5></h5> <img src="<?php echo base_url().'bootstrap/images/home3.png'; ?>" height="150" width="150"> <div class="res-content"> <h2>Custom pricing</h2> <p></p> <a href="<?php echo base_url().'contact'; ?>" class="btn btn-danger">Contact us</a> </div> </div> </div> </div><br><br> </div> <?php } ?> </div> <script> $(document).ready(function(){ //------------ featch style tag css --------------- (function ($) { $.fn.inlineStyle = function (prop) { var styles = this.attr("style"), value; //alert(styles); return styles; }; }(jQuery)); //---------------- replace table tags -------------- var tbllen=$( ".div-table tr:visible" ).length; $(".div-table tr").each(function() { var tableData = $(this).find('td'); //alert($('table tr:visible').length ); var len=tableData.length; //alert(tableData.length); var i=0; for(var n=1; n<=tbllen; n++){ var tbllen1=$( ".div-table:lt("+n+") tr:visible" ).length; var tableData1 = $(".div-table:lt("+n+")").find('td'); var len1=tableData1.length; // alert(len1); if (tableData1.length > 0) { var x=0; tableData1.each(function() { //var colspan=$(this).prop("rowspan"); // alert(colspan); var stylecss_Arr=$(this).inlineStyle(); // STYLE TAG CSS if(stylecss_Arr!=undefined){ stylecss=stylecss_Arr; }else{ stylecss=""; } //-------- CHECK : TD COUNT ------- if(len1==1){ var className="col-sm-12"; }else if(len1==2){ var className="col-sm-6"; }else if(len1==3){ var className="col-sm-8 offset-sm-2"; }else if(len1==4){ var className="col-sm-3"; }else{ var className=""; } if($('table img').length){ $("table img").addClass("w-100"); } $(this).replaceWith($('<div class="'+className+'" style="'+stylecss+'">').html($(this).html())); x++; }); } i++; //alert(len1+"--"+i); if(tbllen1==i){ $(".div-table:lt("+n+")").replaceWith( "<div class='row'>" + $('.div-table:lt('+n+')').html() + "</div>" ); } } }); }); function change(i){ var header = $(".ser"); if(i == 0){ header.removeClass('ser2').addClass("ser1"); header.removeClass('ser3').addClass("ser1"); }else if(i == 1){ header.removeClass('ser1').addClass("ser2"); header.removeClass('ser3').addClass("ser2"); }else{ header.removeClass('ser1').addClass("ser3"); header.removeClass('ser2').addClass("ser3"); } } </script>
Copyright ©2021 || Defacer Indonesia