Posted By

johnschneider on 04/12/15


Tagged

mysql database php driven


Versions (?)

php code example


 / Published in: PHP
 

example of php code I worked on

  1. <!DOCTYPE html>
  2.  
  3. <?php
  4.  
  5. // set error reporting
  6.  
  7.  
  8. // start session
  9.  
  10. $servername = "";
  11. $username = "";
  12. $password = "";
  13. $dbname = "";
  14.  
  15. // Create connection
  16. $conn = new mysqli($servername, $username, $password, $dbname);
  17.  
  18. // Check connection
  19. if ($conn->connect_error) {
  20. die("Connection failed: " . $conn->connect_error);
  21. } else {
  22.  
  23. //echo "Connected successfully";
  24.  
  25. }
  26.  
  27. // figure out contect of call based on passed in category or product
  28. $category = $_REQUEST['category'] ;
  29. //$product_id = $_REQUEST['product_id'] ;
  30. $product = $_REQUEST['product'] ;
  31.  
  32.  
  33. if ( $product != '' ) {
  34. // this has to change to select * from site_partnerproducts with a join
  35.  
  36. //$query= "SELECT * FROM `site_partnerproducts` AS a, `site_partners` AS b WHERE a.partner_id = b.partner_id AND a.Product = '$product'
  37. //ORDER BY b.PartnerCategory ASC, b.logo_sortorder ASC,b.category_sortorder ASC, b.Partner ASC";
  38.  
  39. $query = "SELECT * FROM `site_partnerproducts` AS a, `site_partners` AS b";
  40. $query .= " WHERE a.partner_id = b.partner_id AND a.Product = '$product'";
  41. $query .= " ORDER BY b.category_sortorder ASC, b.logo_sortorder ASC";
  42.  
  43. //$query .= " ORDER BY b.PartnerCategory, b.logo_sortorder ASC, b.Partner ASC";
  44.  
  45. //echo $query;
  46.  
  47. } else {
  48.  
  49. $query = "SELECT * FROM site_partners";
  50.  
  51. }
  52.  
  53. //echo $query;
  54.  
  55. $result = mysqli_query($conn, $query);
  56.  
  57. if (mysqli_num_rows($result) > 0) {
  58.  
  59. // output data of each row
  60.  
  61. /*
  62.  
  63.   while($row = mysqli_fetch_assoc($result)) {
  64.  
  65.   echo "<br>".$row["Partner"]."<br>".$row["Description"]."<br>".$row["Logo_Large"]."<br>".$row["Logo_Small"]."<br>".$row["PartnerURL"]."<br>"
  66.   .$row["partner_id"]."<br>".$row["PartnerCategory"]."<br>";
  67.  
  68.   }
  69.  
  70. */
  71.  
  72. } else {
  73.  
  74. //echo "<br />0 results";
  75.  
  76. }
  77.  
  78. ?>
  79.  
  80.  
  81. <html lang="en">
  82.  
  83. <head>
  84. <meta charset="UTF-8">
  85. <meta name="viewport" content="width=device-width, initial-scale=1">
  86. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  87.  
  88. <title>Partners and Integrations | NRGShip</title>
  89.  
  90. <link rel="shortcut icon" href="img/favicon.png">
  91.  
  92. <meta name="description" content="">
  93.  
  94. <script type="text/javascript" src="http://www.nrgsoft.com/new2/js/jquery.min.js"></script>
  95.  
  96. <!-- CSS -->
  97. <link href="http://www.nrgsoft.com/new2/css/preload.css" rel="stylesheet" media="screen">
  98. <link href="http://www.nrgsoft.com/new2/css/bootstrap.min.css" rel="stylesheet" media="screen">
  99. <link href="http://www.nrgsoft.com/new2/css/yamm.css" rel="stylesheet" media="screen">
  100. <link href="http://www.nrgsoft.com/new2/css/bootstrap-switch.min.css" rel="stylesheet" media="screen">
  101. <link href="http://www.nrgsoft.com/new2/css/font-awesome.min.css" rel="stylesheet" media="screen">
  102. <link href="http://www.nrgsoft.com/new2/css/animate.min.css" rel="stylesheet" media="screen">
  103. <link href="http://www.nrgsoft.com/new2/css/slidebars.css" rel="stylesheet" media="screen">
  104. <link href="http://www.nrgsoft.com/new2/css/lightbox.css" rel="stylesheet" media="screen">
  105. <link href="http://www.nrgsoft.com/new2/css/jquery.bxslider.css" rel="stylesheet">
  106. <link href="http://www.nrgsoft.com/new2/css/syntaxhighlighter/shCore.css" rel="stylesheet" media="screen">
  107.  
  108. <link href="http://www.nrgsoft.com/new2/css/style-orange.css" rel="stylesheet" media="screen" title="default">
  109. <link href="http://www.nrgsoft.com/new2/css/width-full.css" rel="stylesheet" media="screen" title="default">
  110.  
  111. <link href="http://www.nrgsoft.com/new2/css/buttons.css" rel="stylesheet" media="screen">
  112.  
  113.  
  114.  
  115. <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  116. <!--[if lt IE 9]>
  117. <script src="http://www.nrgsoft.com/new2/js/html5shiv.min.js"></script>
  118. <script src="http://www.nrgsoft.com/new2/js/respond.min.js"></script>
  119. <![endif]-->
  120. </head>
  121.  
  122. <style>
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131. </style>
  132.  
  133.  
  134.  
  135.  
  136. <!-- Preloader -->
  137. <div id="preloader">
  138. <div id="status">&nbsp;</div>
  139. </div>
  140.  
  141. <body>
  142.  
  143. <div id="sb-site">
  144.  
  145. <div class="boxed">
  146.  
  147. <?php include ("http://www.nrgsoft.com/new2/navbar.php"); ?>
  148.  
  149. <header class="main-header">
  150.  
  151.  
  152. <div class="container">
  153.  
  154.  
  155.  
  156. <!-- Collect the nav links, forms, and other content for toggling -->
  157. <!--
  158. <div class="pull-right">
  159. <a href="javascript:void(0);" class="sb-icon-navbar sb-toggle-right"><i class="fa fa-bars"></i></a>
  160. </div>
  161. -->
  162.  
  163.  
  164. <?php
  165.  
  166. if ( $product == 'all') {
  167.  
  168. echo ' <h1 class="page-title">Shipping Partners and Integrations</h1>';
  169.  
  170. } elseif ($product == 'mac') {
  171.  
  172. echo ' <h1 class="page-title">Mac Partners and Integrations</h1>';
  173.  
  174.  
  175. } elseif ($product == 'filemaker') {
  176.  
  177. echo ' <h1 class="page-title">FileMaker Partners and Integrations</h1>';
  178.  
  179. } elseif ($product == 'nrgship_upsfm') {
  180.  
  181. echo '
  182.  
  183. <h1 class="page-title">UPS for FileMaker Integrations</h1>
  184.  
  185. <ol class="breadcrumb pull-right">
  186. <li><a href="http://www.nrgsoft.com/new2/shipping/filemaker/ups/ups_filemaker.php">Features</a></li>
  187. <li><a href="http://www.nrgsoft.com/new2/shipping/common//partners_integrations.php?product=nrgship_upsfm">Integrations</a></li>
  188. <li><a href="#">FAQs</a></li>
  189. <li><a href="#">Pricing</a></li>
  190. </ol>
  191.  
  192.  
  193.  
  194. ';
  195.  
  196. } elseif ($product == 'nrgship_ups') {
  197.  
  198. echo ' <h1 class="page-title">NRGship for UPS Integrations</h1>
  199.  
  200. <ol class="breadcrumb pull-right">
  201. <li><a href="http://www.nrgsoft.com/new2/shipping/mac/ups/nrgship_ups.php">Features</a></li>
  202. <li><a href="http://www.nrgsoft.com/new2/shipping/common//partners_integrations.php?product=nrgship_ups">Integrations</a></li>
  203. <li><a href="#">FAQs</a></li>
  204. <li><a href="#">Pricing</a></li>
  205. </ol>
  206.  
  207. ';
  208.  
  209. } elseif ($product == 'nrgship_upspro') {
  210.  
  211. echo ' <h1 class="page-title">NRGship Pro for UPS Integrations</h1>
  212.  
  213. <ol class="breadcrumb pull-right">
  214. <li><a href="http://www.nrgsoft.com/new2/shipping/mac/ups/nrgship_pro_ups.php">Features</a></li>
  215. <li><a href="http://www.nrgsoft.com/new2/shipping/common//partners_integrations.php?product=nrgship_upspro">Integrations</a></li>
  216. <li><a href="#">FAQs</a></li>
  217. <li><a href="#">Pricing</a></li>
  218. </ol>
  219.  
  220. ';
  221.  
  222. } elseif ($product == 'nrgship_fedexpro') {
  223.  
  224. echo ' <h1 class="page-title">NRGship Pro for FedEx Integrations</h1>
  225.  
  226. <ol class="breadcrumb pull-right">
  227. <li><a href="http://www.nrgsoft.com/new2/shipping/mac/fedex/nrgship_pro_fedex.php">Features</a></li>
  228. <li><a href="http://www.nrgsoft.com/new2/shipping/common//partners_integrations.php?product=nrgship_fedexpro">Integrations</a></li>
  229. <li><a href="#">FAQs</a></li>
  230. <li><a href="#">Pricing</a></li>
  231. </ol>
  232.  
  233. ';
  234.  
  235. } elseif ($product == 'nrgship_fedexfm') {
  236.  
  237. echo ' <h1 class="page-title">FedEx for FileMaker Integrations</h1>
  238.  
  239. <ol class="breadcrumb pull-right">
  240. <li><a href="http://www.nrgsoft.com/new2/shipping/filemaker/fedex/fedex_filemaker.php">Features</a></li>
  241. <li><a href="http://www.nrgsoft.com/new2/shipping/common//partners_integrations.php?product=nrgship_fedexfm">Integrations</a></li>
  242. <li><a href="#">FAQs</a></li>
  243. <li><a href="#">Pricing</a></li>
  244. </ol>
  245.  
  246. ';
  247.  
  248. } elseif ($product == 'nrg_shipconnect') {
  249.  
  250. echo ' <h1 class="page-title">NRG Ship Connect Integrations</h1>
  251.  
  252. <ol class="breadcrumb pull-right">
  253. <li><a href="http://www.nrgsoft.com/new2/shipping/filemaker/shipconnect/shipconnect.php">Features</a></li>
  254. <li><a href="http://www.nrgsoft.com/new2/shipping/common//partners_integrations.php?product=nrg_shipconnect">Integrations</a></li>
  255. <li><a href="#">FAQs</a></li>
  256. <li><a href="#">Pricing</a></li>
  257. </ol>
  258.  
  259. ';
  260.  
  261. }
  262.  
  263. ?>
  264.  
  265. </div>
  266.  
  267. </header>
  268.  
  269.  
  270. <div class="container">
  271. <div class="portfolio-topbar hidden-sm hidden-xs">
  272. <div class="row">
  273. <div class="col-md-8">
  274. <!-- <h4>Categories</h4> -->
  275. <ul class="portfolio-topbar-cats">
  276.  
  277. <?php
  278.  
  279. if ($product == 'all') {
  280.  
  281. // below adjust category value to be whatever the value is for the category in db
  282. if ($category == '' || $category == 'all' ) {
  283. echo ' <li><span class="filter" data-filter="all">All</span></li>';
  284. }
  285. if ($category == '' || $category == 'shopping_carts' ) {
  286. echo ' <li><span class="filter" data-filter=".shopping_carts">Shopping Carts</span></li>';
  287. }
  288. if ($category == '' || $category == 'marketplaces' ) {
  289. echo ' <li><span class="filter" data-filter=".marketplaces">Marketplaces</span></li>';
  290. }
  291. if ($category == '' || $category == 'mac_software' ) {
  292. echo ' <li><span class="filter" data-filter=".mac_software">Mac Software</span></li>';
  293. }
  294. if ($category == '' || $category == 'filemaker_solutions' ) {
  295. echo ' <li><span class="filter active" data-filter=".filemaker_solutions">FileMaker Solutions</span></li>';
  296.  
  297. }
  298. if ($category == '' || $category == 'shipping_partners' ) {
  299. echo ' <li><span class="filter" data-filter=".shipping_partners">Shipping Partners</span></li>';
  300. }
  301.  
  302. } elseif ($product == 'filemaker') {
  303.  
  304. // below adjust category value to be whatever the value is for the category in db
  305. if ($category == '' || $category == 'all' ) {
  306. echo ' <li><span class="filter" data-filter="all">All</span></li>';
  307. }
  308. if ($category == '' || $category == 'shopping_carts' ) {
  309. echo ' <li><span class="filter" data-filter=".shopping_carts">Shopping Carts</span></li>';
  310. }
  311. if ($category == '' || $category == 'marketplaces' ) {
  312. echo ' <li><span class="filter" data-filter=".marketplaces">Marketplaces</span></li>';
  313. }
  314. if ($category == '' || $category == 'mac_software' ) {
  315. echo ' <li><span class="filter" data-filter=".mac_software">Mac Software</span></li>';
  316. }
  317. if ($category == '' || $category == 'filemaker_solutions' ) {
  318. echo ' <li><span class="filter active" data-filter=".filemaker_solutions">FileMaker Solutions</span></li>';
  319. }
  320. if ($category == '' || $category == 'shipping_partners' ) {
  321. echo ' <li><span class="filter" data-filter=".shipping_partners">Shipping Partners</span></li>';
  322. }
  323.  
  324. } elseif ($product == 'mac') {
  325.  
  326. // below adjust category value to be whatever the value is for the category in db
  327. if ($category == '' || $category == 'all' ) {
  328. echo ' <li><span class="filter" data-filter="all">All</span></li>';
  329. }
  330. if ($category == '' || $category == 'shopping_carts' ) {
  331. echo ' <li><span class="filter" data-filter=".shopping_carts">Shopping Carts</span></li>';
  332. }
  333. if ($category == '' || $category == 'marketplaces' ) {
  334. echo ' <li><span class="filter" data-filter=".marketplaces">Marketplaces</span></li>';
  335. }
  336. if ($category == '' || $category == 'mac_software' ) {
  337. echo ' <li><span class="filter" data-filter=".mac_software">Mac Software</span></li>';
  338. }
  339.  
  340.  
  341. } elseif ($product == 'nrgship_fedexfm') {
  342.  
  343. // below adjust category value to be whatever the value is for the category in db
  344. if ($category == '' || $category == 'all' ) {
  345. echo ' <li><span class="filter" data-filter="all">All</span></li>';
  346. }
  347. if ($category == '' || $category == 'shopping_carts' ) {
  348. echo ' <li><span class="filter" data-filter=".shopping_carts">Shopping Carts</span></li>';
  349. }
  350. if ($category == '' || $category == 'marketplaces' ) {
  351. echo ' <li><span class="filter" data-filter=".marketplaces">Marketplaces</span></li>';
  352. }
  353. if ($category == '' || $category == 'mac_software' ) {
  354. echo ' <li><span class="filter" data-filter=".mac_software">Mac Software</span></li>';
  355. }
  356.  
  357. } elseif ($product == 'nrg_shipconnect') {
  358.  
  359. // below adjust category value to be whatever the value is for the category in db
  360. if ($category == '' || $category == 'all' ) {
  361. echo ' <li><span class="filter" data-filter="all">All</span></li>';
  362. }
  363. if ($category == '' || $category == 'shopping_carts' ) {
  364. echo ' <li><span class="filter" data-filter=".shopping_carts">Shopping Carts</span></li>';
  365. }
  366. if ($category == '' || $category == 'marketplaces' ) {
  367. echo ' <li><span class="filter" data-filter=".marketplaces">Marketplaces</span></li>';
  368. }
  369. if ($category == '' || $category == 'mac_software' ) {
  370. echo ' <li><span class="filter" data-filter=".mac_software">Mac Software</span></li>';
  371. }
  372. if ($category == '' || $category == 'filemaker_solutions' ) {
  373. echo ' <li><span class="filter active" data-filter=".filemaker_solutions">FileMaker Solutions</span></li>';
  374. }
  375. if ($category == '' || $category == 'shipping_partners' ) {
  376. echo ' <li><span class="filter" data-filter=".shipping_partners">Shipping Partners</span></li>';
  377. }
  378.  
  379.  
  380. } elseif ($product == 'nrgship_upsfm') {
  381.  
  382. // below adjust category value to be whatever the value is for the category in db
  383. if ($category == '' || $category == 'all' ) {
  384. echo ' <li><span class="filter" data-filter="all">All</span></li>';
  385. }
  386. if ($category == '' || $category == 'shopping_carts' ) {
  387. echo ' <li><span class="filter" data-filter=".shopping_carts">Shopping Carts</span></li>';
  388. }
  389. if ($category == '' || $category == 'marketplaces' ) {
  390. echo ' <li><span class="filter" data-filter=".marketplaces">Marketplaces</span></li>';
  391. }
  392. if ($category == '' || $category == 'mac_software' ) {
  393. echo ' <li><span class="filter" data-filter=".mac_software">Mac Software</span></li>';
  394. }
  395. if ($category == '' || $category == 'filemaker_solutions' ) {
  396. echo ' <li><span class="filter active" data-filter=".filemaker_solutions">FileMaker Solutions</span></li>';
  397. }
  398.  
  399. } elseif ($product == 'nrgship_ups') {
  400.  
  401. // below adjust category value to be whatever the value is for the category in db
  402. if ($category == '' || $category == 'all' ) {
  403. echo ' <li><span class="filter" data-filter="all">All</span></li>';
  404. }
  405.  
  406. if ($category == '' || $category == 'shopping_carts' ) {
  407. echo ' <li><span class="filter" data-filter=".shopping_carts">Shopping Carts</span></li>';
  408. }
  409. if ($category == '' || $category == 'marketplaces' ) {
  410. echo ' <li><span class="filter" data-filter=".marketplaces">Marketplaces</span></li>';
  411. }
  412. if ($category == '' || $category == 'mac_software' ) {
  413. echo ' <li><span class="filter" data-filter=".mac_software">Mac Software</span></li>';
  414. }
  415.  
  416. } elseif ($product == 'nrgship_upspro') {
  417.  
  418. // below adjust category value to be whatever the value is for the category in db
  419. if ($category == '' || $category == 'all' ) {
  420. echo ' <li><span class="filter" data-filter="all">All</span></li>';
  421. }
  422. if ($category == '' || $category == 'shopping_carts' ) {
  423. echo ' <li><span class="filter" data-filter=".shopping_carts">Shopping Carts</span></li>';
  424. }
  425. if ($category == '' || $category == 'marketplaces' ) {
  426. echo ' <li><span class="filter" data-filter=".marketplaces">Marketplaces</span></li>';
  427. }
  428. if ($category == '' || $category == 'mac_software' ) {
  429. echo ' <li><span class="filter" data-filter=".mac_software">Mac Software</span></li>';
  430. }
  431.  
  432. } elseif ($product == 'nrgship_fedexpro') {
  433.  
  434. // below adjust category value to be whatever the value is for the category in db
  435. if ($category == '' || $category == 'all' ) {
  436. echo ' <li><span class="filter" data-filter="all">All</span></li>';
  437. }
  438. if ($category == '' || $category == 'shopping_carts' ) {
  439. echo ' <li><span class="filter" data-filter=".shopping_carts">Shopping Carts</span></li>';
  440. }
  441. if ($category == '' || $category == 'marketplaces' ) {
  442. echo ' <li><span class="filter" data-filter=".marketplaces">Marketplaces</span></li>';
  443. }
  444. if ($category == '' || $category == 'mac_software' ) {
  445. echo ' <li><span class="filter" data-filter=".mac_software">Mac Software</span></li>';
  446. }
  447.  
  448. }
  449.  
  450. ?>
  451.  
  452. </ul>
  453.  
  454. </div>
  455.  
  456. <!--
  457. <div class="col-md-4">
  458. <ul class="portfolio-topbar-desc">
  459. <li id="showDetails"><a href="javascript:void(0);" id="port-show">Show Details</a></li>
  460. <li id="hideDetails"><a href="javascript:void(0);" id="port-hide">Hide Details</a></li>
  461. </ul>
  462. </div>
  463. -->
  464.  
  465. </div>
  466.  
  467.  
  468. </div>
  469. <div class="row">
  470. <div class="col-md-12">
  471. <div class="row" id="Container">
  472.  
  473. <?php
  474. /*
  475.   <a data-toggle="modal" class="btn btn-info" href="<?php echo ''.$row["Partner"].''; ?>" data-target="<?php echo ''.$row["partner_id"].''; ?>"></a> */
  476.  
  477.  
  478. //http://www.nrgsoft.com/new2/shipping/common/partners_detail.php?partner_id='.$row["partner_id"].'&product_id='.$product.'
  479.  
  480. //<a href="http://www.nrgsoft.com/new2/shipping/common/partners_detail.php?partner_id='.$row["partner_id"].'&product_id='.$product.'" class="thumbnail">
  481.  
  482. while($row = mysqli_fetch_assoc($result)) {
  483.  
  484. //echo "<br>".$row["Partner"]."<br>".$row["Description"]."<br>".$row["Logo_Large"]."<br>".$row["Logo_Small"]."<br>".$row["PartnerURL"]."<br>"
  485. //.$row["partner_id"]."<br>".$row["PartnerCategory"]."<br>";
  486.  
  487.  
  488. if ($product == 'all') {
  489.  
  490. echo '
  491.  
  492. <div class="mix '.$row["PartnerCategory"].' col-md-3 col-sm-6 col-xs-12">
  493.  
  494. <a href="#" class="thumbnail">
  495. <img src = "'.$row["Logo_Large"].'" ></a>
  496.  
  497. <div class="caption-ar">
  498. <div class="caption-content">
  499.  
  500. <a data-toggle="modal" class="btn btn-primary btn-lg btn-ar" href="products.php?partner_id='.$row["partner_id"].'" data-target="#myModal2">
  501. More Info
  502. </a>
  503.  
  504. <h4 class="caption-title">'.$row["Partner"].'</h4>
  505.  
  506. </div>
  507. </div>
  508. </div>
  509.  
  510. ';
  511.  
  512. } elseif ($product == 'mac') {
  513.  
  514. echo '
  515.  
  516. <div class="mix '.$row["PartnerCategory"].' col-md-3 col-sm-6 col-xs-12">
  517.  
  518. <a href="#" class="thumbnail">
  519. <img src = "'.$row["Logo_Large"].'" ></a>
  520.  
  521. <div class="caption-ar">
  522. <div class="caption-content">
  523.  
  524. <a data-toggle="modal" class="btn btn-primary btn-lg btn-ar" href="'.$row["Partner"].'" data-target="#myModal2">
  525. More Info
  526. </a>
  527.  
  528. <h4 class="caption-title">'.$row["Partner"].'</h4>
  529.  
  530. </div>
  531. </div>
  532. </div>
  533.  
  534. ';
  535.  
  536. } elseif ($product == 'filemaker') {
  537.  
  538. echo '
  539.  
  540. <div class="mix '.$row["PartnerCategory"].' col-md-3 col-sm-6 col-xs-12">
  541.  
  542. <a href="#" class="thumbnail">
  543. <img src = "'.$row["Logo_Large"].'" ></a>
  544.  
  545. <div class="caption-ar">
  546. <div class="caption-content">
  547.  
  548. <a data-toggle="modal" class="btn btn-primary btn-lg btn-ar" href="'.$row["Partner"].'" data-target="#myModal2">
  549. More Info
  550. </a>
  551.  
  552. <h4 class="caption-title">'.$row["Partner"].'</h4>
  553.  
  554. </div>
  555. </div>
  556. </div>
  557.  
  558. ';
  559.  
  560. } else {
  561.  
  562. echo '
  563.  
  564. <div class="mix '.$row["PartnerCategory"].' col-md-3 col-sm-6 col-xs-12">
  565.  
  566. <a href="#" class="thumbnail">
  567. <img src = "'.$row["Logo_Large"].'" ></a>
  568.  
  569. <div class="caption-ar">
  570. <div class="caption-content">
  571.  
  572. <a data-toggle="modal" class="btn btn-primary btn-lg btn-ar" href="#" data-target="#">
  573. More Info
  574. </a>
  575.  
  576. <h4 class="caption-title">'.$row["Partner"].'</h4>
  577.  
  578. </div>
  579. </div>
  580. </div>
  581.  
  582. ';
  583.  
  584.  
  585. }
  586. }
  587.  
  588. ?>
  589.  
  590. <div class="modal" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  591.  
  592. <div class="modal-dialog modal-sm">
  593.  
  594. <div class="modal-content">
  595.  
  596. <div class="modal-header">
  597. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times</button>
  598.  
  599. <h4></h4>
  600.  
  601. </div>
  602.  
  603. <div class="modal-body">
  604.  
  605. <p></p>
  606.  
  607. </div>
  608.  
  609. <div class="modal-footer">
  610. <button type="button" class="btn btn-ar btn-primary" data-dismiss="modal">Close</button>
  611. </div>
  612.  
  613. </div>
  614.  
  615. </div>
  616. </div>
  617.  
  618. </div>
  619.  
  620. </div>
  621.  
  622. </div>
  623. </div> <!-- col-md-9 -->
  624. </div>
  625. </div> <!-- container -->
  626.  
  627.  
  628. <?php include ("http://www.nrgsoft.com/new2/footer.php"); ?>
  629.  
  630.  
  631. </div> <!-- boxed -->
  632. </div> <!-- sb-site -->
  633.  
  634. <div id="back-top">
  635. <a href="#header"><i class="glyphicon glyphicon-arrow-up"></i></a>
  636. </div>
  637.  
  638. <!-- Scripts -->
  639.  
  640. <!-- Include jQuery -->
  641. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
  642.  
  643. <script type="text/javascript">
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650. </script>
  651.  
  652.  
  653.  
  654.  
  655. <script src="http://www.nrgsoft.com/new2/js/jquery.min.js"></script>
  656. <script src="http://www.nrgsoft.com/new2/js/jquery.cookie.js"></script>
  657. <script src="http://www.nrgsoft.com/new2/js/bootstrap.min.js"></script>
  658. <script src="http://www.nrgsoft.com/new2/js/bootstrap-switch.min.js"></script>
  659. <script src="http://www.nrgsoft.com/new2/js/wow.min.js"></script>
  660. <script src="http://www.nrgsoft.com/new2/js/slidebars.js"></script>
  661. <script src="http://www.nrgsoft.com/new2/js/jquery.bxslider.min.js"></script>
  662. <script src="http://www.nrgsoft.com/new2/js/holder.js"></script>
  663. <script src="http://www.nrgsoft.com/new2/js/buttons.js"></script>
  664. <script src="http://www.nrgsoft.com/new2/js/styleswitcher.js"></script>
  665. <script src="http://www.nrgsoft.com/new2/js/jquery.mixitup.min.js"></script>
  666. <script src="http://www.nrgsoft.com/new2/js/circles.min.js"></script>
  667. <script src="http://www.nrgsoft.com/new2/js/lightbox.min.js"></script>
  668.  
  669. <!-- Syntaxhighlighter -->
  670. <script src="http://www.nrgsoft.com/new2/js/syntaxhighlighter/shCore.js"></script>
  671. <script src="http://www.nrgsoft.com/new2/js/syntaxhighlighter/shBrushXml.js"></script>
  672. <script src="http://www.nrgsoft.com/new2/js/syntaxhighlighter/shBrushJScript.js"></script>
  673.  
  674. <script src="http://www.nrgsoft.com/new2/js/app.js"></script>
  675.  
  676. <script src="http://www.nrgsoft.com/new2/js/portfolio.js"></script>
  677.  
  678. </body>
  679.  
  680. </html>

Report this snippet  

You need to login to post a comment.