PK

ADDRLIN : /home/anibklip/ldhcgewc.org/
FLL :
Current File : //home/anibklip/ldhcgewc.org/main_home.php

<!-- - - - - - - - - - - - - Slider - - - - - - - - - - - - - - - -->	
<div class="fullwidthbanner-container">	
	<div class="fullwidthbanner">
		<ul>
			<!-- SLIDEUP -->
			<li data-transition="fade" data-slotamount="7"> 
				<img src="images/slides/slide-3.jpg" alt="">
				<div class="caption lft big_yellow_dark_back" data-x="310" data-y="100" data-speed="400" data-start="1300" data-easing="easeOutExpo">Welcome to</div>
				<!-- <div class="caption lft big_white_back"  data-x="20" data-y="146" data-speed="300" data-start="1550" data-easing="easeOutExpo">ldhcgewc.org</div> -->
				<div class="caption sfb medium_text" data-x="170" data-y="170" data-speed="800" data-start="1800" data-easing="easeOutBack">Central Govt. Employees Welfare Coordination Committee Ldh.</div>
				<div class="caption sfb medium_text" data-x="330" data-y="230" data-speed="1200" data-start="2200" data-easing="easeOutBack">&nbsp; &nbsp; UNITED WE STAND &nbsp; &nbsp;</div>
				<!-- <div class="caption sfb medium_text"  data-x="20" data-y="276" data-speed="800" data-start="1800" data-easing="easeOutBack">nulla aliquet varius purus</div> -->
			</li>
			
			<!-- SLIDELEFT -->
			<li data-transition="slideleft" data-slotamount="15"> 
				
				<img src="images/slides/slide-2.jpg" alt="">	
				
				<div class="caption lft very_big_white"  data-x="80" data-y="300" data-speed="900" data-start="1200" data-easing="easeOutBack">choose your right way</div>	
			</li>
							
			<!-- SLIDERIGHT -->
			<li data-transition="fade" data-slotamount="10"> 
				<img src="images/slides/slide-4.jpg" alt="">	
				<!--
				<div class="caption lft medium_white_back"  data-x="580" data-y="120" data-speed="300" data-start="1500" data-easing="easeOutExpo">Video Support</div>
				<div class="caption sfb medium_dark_back"  data-x="580" data-y="165" data-speed="300" data-start="1650" data-easing="easeOutExpo">Vimeo Example</div>
				<div class="caption lft medium_text"  data-x="580" data-y="250" data-speed="300" data-start="1950" data-easing="easeOutBack">You can easily add</div>
				<div class="caption lft medium_text"  data-x="580" data-y="286" data-speed="300" data-start="2400" data-easing="easeOutBack">Vimeo & Youtube Videos</div>
				<div class="caption lft medium_text"  data-x="580" data-y="322" data-speed="300" data-start="2800" data-easing="easeOutBack">to your Slides</div>	 -->		
			</li>
							
		</ul>
		
	</div><!--/ .fullwidthbanner-->	
	
</div><!--/ .fullwidthbanner-container-->

<!-- - - - - - - - - - - - - end Slider - - - - - - - - - - - - - - -->


<!-- - - - - - - - - - - - - - Main - - - - - - - - - - - - - - - - -->		
	
<section class="container">	
	
	<!-- - - - - - - - - - - - - Holder - - - - - - - - - - - - - - -->
	
	<section class="holder clearfix">
		
		<div class="one-third column">
			
			<div class="detailimg">
				
				<div class="bordered">
					<figure class="add-border">
						<a href="index.php?paction=content&id=6"><img src="images/message_box1.jpg" alt="" /></a>
					</figure>
				</div><!--/ .bordered-->
				<h5>Message</h5>
				<p>Message from Chairman Sh. Sh. S.K.Singh, Chief Commissioner of Income Tax, Ludhiana.<br /> <br /></p>
				
				<a href="index.php?paction=content&id=6" class="button default"> More</a>
				
			</div><!--/ .detailimg-->
			
		</div><!--/ .one-third-->
		
		<div class="one-third column">
			
			<div class="detailimg">
				
				<div class="bordered">
					<figure class="add-border">
						<a href="index.php?paction=content&id=5"><img src="images/message.jpg" alt="" /></a>
					</figure>
				</div><!--/ .bordered-->
				
				<h5>Message</h5>
				
				<p>
					<?php
					$query = "select * from content where page_id='5'";
					$query = mysql_query($query) or die(mysql_error());
					if($cont=mysql_fetch_array($query)){
						echo substr(strip_tags($cont[body]), 0, 130);
					}
					?>
				</p>
				
				<a href="index.php?paction=content&id=5" class="button default"> More</a>
				
			</div><!--/ .detailimg-->
			
		</div><!--/ .one-third-->
		
		<div class="one-third column">
			<div class="detailimg">
				<div class="bordered">
					<figure class="add-border">
						<a href="index.php?paction=downloads"><img src="images/downloads.jpg" alt="" /></a>
					</figure>
				</div><!--/ .bordered-->
				
				<h5>Downloads</h5>
				
				<p>
					Visit our Downloads section regularly for new updations.<br /> <br />
				</p>
				
				<a href="index.php?paction=downloads" class="button default"> More</a>
				
			</div><!--/ .detailimg-->
			
		</div><!--/ .one-third-->
		
		<div class="clear"></div>

	</section><!--/ .holder-->
	
	<!-- - - - - - - - - - - - end Holder - - - - - - - - - - - - - -->

	<!-- - - - - - - - - - - - - - - Bottom Sidebar - - - - - - - - - - - - - - - - -->	

	<aside id="bottom-sidebar" class="clearfix">

		<div class="one-third column">
			
			<div class="widget widget_recent_entries">

				<h3 class="widget-title">Latest News</h3>
				
				<ul>
					<?php
					$query = "select * from articles where typ='news' order by article_id desc limit 2";
					//echo "$query<br />";
					$query = mysql_query($query) or die (mysql_error());
					while($row = mysql_fetch_array($query)){
						$img1=$row[img];
						if($img1==""){
							$img="images/noimg.jpg";
						}else{
							$img="site_data/images/".$img1;
						}
						?>
						<li>
							<h6><a href="index.php?paction=event_details&id=<?php echo $row[article_id]?>&typ=<?php echo $row[typ]?>"><strong><?php echo $row[titl]?></strong></a></h6>							
							<div class="bordered alignleft">
								<figure class="add-border">
									<a class="single-image" href="#"><img src="<?php echo $img?>" width="90" /></a>
								</figure>
							</div><!--/ .bordered-->
							<p>
								<?php echo substr(strip_tags($row[descp]), 0, 150)?>...
							</p>
						</li>
						<?php
					}
					?>
				</ul>
			</div><!--/ .widget-->
		</div><!--/ .one-third-->
		
		<div class="one-third column">
			<div class="widget widget_upcoming_events">
				<h3 class="widget-title">Upcoming Events</h3>
				
				<div class="list-wrpaaer" style="height:350px">
					<ul class="list-aggregate" id="marquee-vertical">
						<?php
						$query = "select * from articles where typ='event' order by article_id desc limit 10 ";
						//echo "$query<br />";
						$query = mysql_query($query) or die (mysql_error());
						while($row = mysql_fetch_array($query)){
							?>
							<li style="height1:70px">
								<div class="entry-meta">
									<span class="date"><?php echo date("d",strtotime($row[date]))?></span>
									<span class="month"><?php echo date("M y",strtotime($row[date]))?></span>
								</div><!--/ .entry-meta-->
								
								<h6><a href="index.php?paction=event_details&id=<?php echo $row[article_id]?>&typ=<?php echo $row[typ]?>" style="font-weight:bold;"><?php echo $row[titl]?></a></h6>
								<span class="place"><?php echo substr(strip_tags($row[descp]),0,110)?>...</span>
								<!-- <span class="time">10:30 AM - 14:00 PM</span> -->
								<span class="time">&nbsp;</span>
							</li>
							<?php
						}
						?>
					</ul>
				</div>
			</div><!--/ .widget-->
			
		</div><!--/ .one-third-->
		
		<div class="one-third column">
			<div class="widget widget_video">
				<h3 class="widget-title">Video</h3>
				<?php
				$query = "select * from	videos order by video_id desc limit 2 ";
				$query = mysql_query($query) or	die(mysql_error());
				while($row=mysql_fetch_array($query)){
					$jutjub = new YouTube("$row[video]");
					?>
					<a href="index.php?paction=video_play&video_id=<?php echo $row[video_id]?>"><?php echo $jutjub->ShowImg("default",320,$row[url]);?></a>
					<div style='text-align:center;'><strong><?php echo ucfirst($row[titl])?></strong><div> <hr size='1'/>
					<?php
				}
				?>
			</div><!--/ .widget-->
		</div><!--/ .one-third-->
	</aside><!--/ #bottom-sidebar-->

	<!-- - - - - - - - - - - - - end Bottom Sidebar - - - - - - - - - - - - - - - -->	

</section><!--/ .main -->

<!-- - - - - - - - - - - - - end Main - - - - - - - - - - - - - - - - -->			




PK 99