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

/mgmt/trainee_login/extras/watch_brek_vid.php

https://gitlab.com/msdusad/all_ones
PHP | 237 lines | 188 code | 44 blank | 5 comment | 1 complexity | 440f2f8ff8064992148fde5c7d79a87f 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. </marquee>
  66. <div class="news_content_img">
  67. <a href="watch_brek_vid.php?id=<?= $row['id'];?>"><img src="images/Aaj-Tak_live-TV-1.gif" /></a><?php }
  68. ?>
  69. </div>
  70. </div>
  71. </div>
  72. <div id="menu">
  73. <ul>
  74. <li><a href="index.html" class="current"></a></li>
  75. <li><a href="#"> </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="#">लज &amp; इन</a></li>
  81. </ul>
  82. </div>
  83. <div class="rcol_sectionwithborder">
  84. </div>
  85. <div id="main_leftcol">
  86. <div style="width:400; height:600">
  87. <form action="" method="post" enctype="multipart/form-data">
  88. <?php $df="select * from brek_news where id='".$_REQUEST['id']."' ";
  89. $rf=mysql_query($df);
  90. $row=mysql_fetch_array($rf);
  91. { ?>
  92. <h2><?php echo $row['News']."<br/>"; ?></h2>
  93. <video class="video" poster="http://media.html5media.info/poster.jpg" width="600" height="400" controls="" preload="">
  94. <source src="admin/upload/<?php echo $row['video']; ?>" media="only screen and (min-device-width: 568px)">
  95. </form>
  96. </div> <br/><br/>
  97. <div>
  98. <?php echo $row['description']; ?></div>
  99. <?php }
  100. ?><br/>
  101. <!-- end of left column -->
  102. </div> <!-- end of left column -->
  103. <div id="main_rightcol">
  104. <!--<div class="rcol_sectionwithborder">
  105. <div id="video_section">
  106. <h2> ि</h2>
  107. <div class="video_box">
  108. <img src="images/vid1.jpg" height="71" width="106" alt="image" />
  109. <a href="#"><span>1:</span> Case Detective Seeking FIR against Modi</a>
  110. </div>
  111. <div class="video_box">
  112. <img src="images/vid2.jpg" height="71" width="106" alt="image" />
  113. <a href="#"><span>2:</span> Tejpal met at home, police returned empty-handed</a>
  114. </div>
  115. <div class="video_box">
  116. <img src="images/vid3.jpg" height="71" width="106" alt="image" />
  117. <a href="#"><span>3:</span> Duis vitae velit sed duiA sting operation Laxman remembered</a>
  118. </div>
  119. <div class="view_all"><a href="#"> ि</a></div>
  120. </div>
  121. </div>-->
  122. <div class="rcol_sectionwithborder">
  123. <div id="blog_section">
  124. <h2>अन बर</h2>
  125. <div class="blog_box">
  126. <h3><a href="#">छतिगर</a></h3>
  127. Look at how the road is a man who beats his wife half an hour dufhjksdh sdf sdf s f sd f sdf sd
  128. <div class="datetime">15:00 </div>
  129. </div>
  130. <div class="blog_box">
  131. <h3><a href="#"></a></h3>
  132. Outraged wife in the car for half an hour, watch video sdf sd f sd f asd f sdf sd f sd f s
  133. <div class="datetime">13:30</div>
  134. </div>
  135. <div class="blog_box">
  136. <h3><a href="#">मध रद</a></h3>
  137. By far the best turnout in Madhya Pradesh dsf s df s df s df sd
  138. <div class="datetime">13:30</div>
  139. </div>
  140. <div class="more_button"><a href="#"> ऑल</a></div>
  141. </div>
  142. </div>
  143. <div class="rcol_sectionwithborder">
  144. <div id="poll_section">
  145. <h2>मतद</h2>
  146. <img src="images/modis.jpg" height="90" width="120" alt="image" />
  147. <p>
  148. Modi Should be the Prime Minister Of India</p>
  149. <input type="radio" name="poll" value="yes" checked="checked" />
  150. <br />
  151. <input type="radio" name="poll" value="no" />
  152. <br />
  153. <br />
  154. <input class="button" type="submit" name="Submit" value="Vote" /> <a href="#"> ि</a> </div>
  155. </div>
  156. <div class="rcol_sectionwithborder">
  157. <div id="newsletter_section">
  158. <h2>सबसइब टर</h2>
  159. <form method="get" action="#">
  160. <div class="form_row">
  161. <label>Choose Newsletter</label>
  162. <select>
  163. <option>Daily News</option>
  164. <option>Breaking News</option>
  165. <option>Sport News</option>
  166. <option>Entertainment News</option>
  167. </select>
  168. </div>
  169. <div class="form_row"><label>Email address</label><input class="inputfield" name="email_address" type="text" id="email_addremss"/></div>
  170. <input class="button" type="submit" name="Submit" value="Subscribe" />
  171. </form>
  172. </div>
  173. </div>
  174. </div>
  175. </div>
  176. <!-- end of footer -->
  177. <!-- HTML CSS Template Designed by w w w . t e m p l a t e m o . c o m -->
  178. </div>
  179. <div id="footer">
  180. <div class="footer_main">
  181. <div class="footer_leftcol">
  182. Copyright © 2048 <a href="#"><strong>Your Company Name</strong></a><br />
  183. <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 />
  184. <p>&nbsp;</p>
  185. </div>
  186. <div class="footer_rightcol">
  187. <div class="footer_subcol"></div>
  188. <div class="footer_subcol"></div>
  189. </div>
  190. </div>
  191. </div>
  192. </body>
  193. </html>