PageRenderTime 45ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/mgmt/tr_managment/extras/video_news.php

https://gitlab.com/msdusad/all_ones
PHP | 238 lines | 190 code | 43 blank | 5 comment | 1 complexity | 184d060543fe330b96e903b40e022318 MD5 | raw file
  1. <?php include('conn.php');?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>INS</title>
  7. <meta name="keywords" content="" />
  8. <meta name="description" content="" />
  9. <link href="css/style.css" rel="stylesheet" type="text/css" />
  10. <link rel="stylesheet" type="text/css" href="css/tabcontent.css" />
  11. <script src="js/jquery-1.10.2.min.js"></script>
  12. <script type="text/javascript" src="js/tabcontent.js">
  13. /***********************************************
  14. * Tab Content script v2.2- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
  15. * This notice MUST stay intact for legal use
  16. * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
  17. ***********************************************/
  18. </script>
  19. <!-- HTML CSS Template Designed by w w w . t e m p l a t e m o . c o m -->
  20. <!--image sliding -->
  21. <script src="js/jquery.carouFredSel-6.0.4-packed.js" type="text/javascript"></script>
  22. <script type="text/javascript">
  23. $(function () {
  24. $('#carousel').carouFredSel({
  25. width: '100%',
  26. auto: {
  27. items: 1
  28. },
  29. prev: '#prev',
  30. next: '#next'
  31. });
  32. });
  33. </script>
  34. <!-- image sliding ends-->
  35. </head>
  36. <body>
  37. <div class="header">
  38. <div id="top_panel">
  39. <div id="sitetitle">
  40. NEWS Website
  41. </div>
  42. <?php
  43. $sd="select bann_news from banner";
  44. $ab=mysql_query($sd);
  45. $df=mysql_fetch_array($ab);
  46. {
  47. ?>
  48. <div class="banner"><img src="admin/upload/<?php echo $df['bann_news']; ?>" width="700" height="90px;"/></div>
  49. </div><?php } ?>
  50. </div>
  51. <div id="container">
  52. <!-- end of top panel -->
  53. <div id="content">
  54. <div class="breaking_news">
  55. <div class="news_img"><img src="images/breaking_news.png" height="20" width="150" class="img" /></div>
  56. <div class="news_content">
  57. <marquee direction="left" scrollamount="4" behavior="scroll">
  58. <p style="color:#FFFFFF; font-size:16px; font-weight:bold; padding-top:10px; "><?php
  59. $df="select * from brek_news where b_news=1";
  60. $rf=mysql_query($df);
  61. $row=mysql_fetch_array($rf);
  62. { ?>
  63. <a href="breknews_desc.php?id=<?= $row['id']; ?>" style="text-decoration:none;color:#FFFFFF;"> <?php echo $row['News'];?></a>
  64. <?php echo $row['time'];?>
  65. </p>
  66. </marquee>
  67. <div class="news_content_img">
  68. <a href="watch_brek_vid.php?id=<?= $row['id'];?>"><img src="images/Aaj-Tak_live-TV-1.gif" /></a><?php }
  69. ?>
  70. </div>
  71. </div>
  72. </div>
  73. <div id="menu">
  74. <ul>
  75. <li><a href="index.html" class="current"></a></li>
  76. <li><a href="#"> </a></li>
  77. <li><a href="#"></a></li>
  78. <li><a href="#">ि</a></li>
  79. <li><a href="#">िि</a></li>
  80. <li><a href="#">टरटनम</a></li>
  81. <li><a href="#">लज &amp; इन</a></li>
  82. </ul>
  83. </div>
  84. <div class="rcol_sectionwithborder">
  85. </div>
  86. <div id="main_leftcol">
  87. <div style="width:400; height:600">
  88. <form action="" method="post" enctype="multipart/form-data">
  89. <div style="height:400;width:400;"><?php $df="select * from video_news where id='".$_REQUEST['id']."' ";
  90. $rf=mysql_query($df);
  91. $row=mysql_fetch_array($rf);
  92. { ?>
  93. <?php echo $row['news']."<br/><br/>"; ?>
  94. <video class="video" poster="http://media.html5media.info/poster.jpg" width="600" height="400" controls="" preload="">
  95. <source src="admin/upload/<?php echo $row['video']; ?>" media="only screen and (min-device-width: 568px)"><br/><br/>
  96. </div><br/><br/>
  97. <div style="width:400px; height:200px;"><?php echo $row['time'];?>
  98. <?php echo $row['description']; ?>
  99. <?php }
  100. ?></div>
  101. </div>
  102. </form>
  103. <!-- end of left column -->
  104. </div> <!-- end of left column -->
  105. <div id="main_rightcol">
  106. <!--<div class="rcol_sectionwithborder">
  107. <div id="video_section">
  108. <h2> ि</h2>
  109. <div class="video_box">
  110. <img src="images/vid1.jpg" height="71" width="106" alt="image" />
  111. <a href="#"><span>1:</span> Case Detective Seeking FIR against Modi</a>
  112. </div>
  113. <div class="video_box">
  114. <img src="images/vid2.jpg" height="71" width="106" alt="image" />
  115. <a href="#"><span>2:</span> Tejpal met at home, police returned empty-handed</a>
  116. </div>
  117. <div class="video_box">
  118. <img src="images/vid3.jpg" height="71" width="106" alt="image" />
  119. <a href="#"><span>3:</span> Duis vitae velit sed duiA sting operation Laxman remembered</a>
  120. </div>
  121. <div class="view_all"><a href="#"> ि</a></div>
  122. </div>
  123. </div>-->
  124. <div class="rcol_sectionwithborder">
  125. <div id="blog_section">
  126. <h2>अन बर</h2>
  127. <div class="blog_box">
  128. <h3><a href="#">छतिगर</a></h3>
  129. Look at how the road is a man who beats his wife half an hour dufhjksdh sdf sdf s f sd f sdf sd
  130. <div class="datetime">15:00 </div>
  131. </div>
  132. <div class="blog_box">
  133. <h3><a href="#"></a></h3>
  134. Outraged wife in the car for half an hour, watch video sdf sd f sd f asd f sdf sd f sd f s
  135. <div class="datetime">13:30</div>
  136. </div>
  137. <div class="blog_box">
  138. <h3><a href="#">मध रद</a></h3>
  139. By far the best turnout in Madhya Pradesh dsf s df s df s df sd
  140. <div class="datetime">13:30</div>
  141. </div>
  142. <div class="more_button"><a href="#"> ऑल</a></div>
  143. </div>
  144. </div>
  145. <div class="rcol_sectionwithborder">
  146. <div id="poll_section">
  147. <h2>मतद</h2>
  148. <img src="images/modis.jpg" height="90" width="120" alt="image" />
  149. <p>
  150. Modi Should be the Prime Minister Of India</p>
  151. <input type="radio" name="poll" value="yes" checked="checked" />
  152. <br />
  153. <input type="radio" name="poll" value="no" />
  154. <br />
  155. <br />
  156. <input class="button" type="submit" name="Submit" value="Vote" /> <a href="#"> ि</a> </div>
  157. </div>
  158. <div class="rcol_sectionwithborder">
  159. <div id="newsletter_section">
  160. <h2>सबसइब टर</h2>
  161. <form method="get" action="#">
  162. <div class="form_row">
  163. <label>Choose Newsletter</label>
  164. <select>
  165. <option>Daily News</option>
  166. <option>Breaking News</option>
  167. <option>Sport News</option>
  168. <option>Entertainment News</option>
  169. </select>
  170. </div>
  171. <div class="form_row"><label>Email address</label><input class="inputfield" name="email_address" type="text" id="email_addremss"/></div>
  172. <input class="button" type="submit" name="Submit" value="Subscribe" />
  173. </form>
  174. </div>
  175. </div>
  176. </div>
  177. </div>
  178. <!-- end of footer -->
  179. <!-- HTML CSS Template Designed by w w w . t e m p l a t e m o . c o m -->
  180. </div>
  181. <div id="footer">
  182. <div class="footer_main">
  183. <div class="footer_leftcol">
  184. Copyright © 2048 <a href="#"><strong>Your Company Name</strong></a><br />
  185. <a href="http://www.iwebsitetemplate.com" target="_parent">Website Templates</a> by <a href="http://www.templatemo.com" target="_parent">Free CSS Templates</a><br /><br />
  186. <p>&nbsp;</p>
  187. </div>
  188. <div class="footer_rightcol">
  189. <div class="footer_subcol"></div>
  190. <div class="footer_subcol"></div>
  191. </div>
  192. </div>
  193. </div>
  194. </body>
  195. </html>