home *** CD-ROM | disk | FTP | other *** search
/ 74.208.221.89 / 74.208.221.89.zip / 74.208.221.89 / manage / check-users.aspx < prev    next >
Text File  |  2015-03-15  |  10KB  |  306 lines

  1. ∩╗┐<%@ Page Language="VB" Debug="true" %>
  2. <script runat="server">
  3.     Dim mycon As New conValue()
  4.     Dim username, useremail, permissions As String
  5.     Dim userid As Integer
  6.     Sub page_load()
  7.         If (Request.Cookies("gen")("uid") Is Nothing) Then
  8.             Response.Redirect("login.aspx")
  9.         Else
  10.             userid = Request.Cookies("gen")("uid")
  11.             username = Request.Cookies("gen")("name")
  12.             useremail = Request.Cookies("gen")("email")
  13.         End If
  14.     End Sub
  15. </script>
  16. <!DOCTYPE html>
  17. <html lang="en-us">
  18.     'Header Files
  19.     <!--#include file="head.ascx" -->
  20. <body class="fixed-header fixed-navigation fixed-page-footer fixed-ribbon smart-style-1">
  21.     <!-- possible classes: minified, fixed-ribbon, fixed-header, fixed-width-->
  22.     <!-- HEADER -->
  23.   <!--#include file="header.ascx" -->
  24.     <!-- END HEADER -->
  25.     <!-- Left panel : Navigation area -->
  26.     <!-- Note: This width of the aside area can be adjusted through LESS variables -->
  27.   <!--#include file="navigation.ascx" -->
  28.     <!-- END NAVIGATION -->
  29.     <!-- MAIN PANEL -->
  30.     <div id="main" role="main">
  31.  
  32.         <!-- RIBBON -->
  33.         <div id="ribbon">
  34.  
  35.             <span class="ribbon-button-alignment">
  36.                 <span id="refresh" class="btn btn-ribbon" data-action="resetWidgets" data-title="refresh" rel="tooltip" data-placement="bottom" data-original-title="
  37.                     <i class='text-warning fa fa-warning'></i> Warning! This will reset all your widget settings." data-html="true">
  38.                     <i class="fa fa-refresh"></i>
  39.                 </span>
  40.             </span>
  41.  
  42.             <!-- breadcrumb -->
  43.             <ol class="breadcrumb">
  44.                 <li>Home</li>
  45.                 <li>Dashboard</li>
  46.             </ol>
  47.             <!-- end breadcrumb -->
  48.             <!-- You can also add more buttons to the
  49.             ribbon for further usability
  50.  
  51.             Example below:
  52.  
  53.             <span class="ribbon-button-alignment pull-right">
  54.             <span id="search" class="btn btn-ribbon hidden-xs" data-title="search"><i class="fa-grid"></i> Change Grid</span>
  55.             <span id="add" class="btn btn-ribbon hidden-xs" data-title="add"><i class="fa-plus"></i> Add</span>
  56.             <span id="search" class="btn btn-ribbon" data-title="search"><i class="fa-search"></i> <span class="hidden-mobile">Search</span></span>
  57.             </span> -->
  58.  
  59.         </div>
  60.         <!-- END RIBBON -->
  61.         <!-- MAIN CONTENT -->
  62.         <div id="content">
  63.  
  64.            
  65.            
  66.  
  67.  
  68.  
  69.  
  70.               <!-- Widget ID (each widget will need unique ID)-->
  71.                             <div class="jarviswidget jarviswidget-color-blueDark" id="wid-id-3" data-widget-editbutton="false">
  72.                                 <!-- widget options:
  73.                                 usage: <div class="jarviswidget" id="wid-id-0" data-widget-editbutton="false">
  74.                 
  75.                                 data-widget-colorbutton="false"
  76.                                 data-widget-editbutton="false"
  77.                                 data-widget-togglebutton="false"
  78.                                 data-widget-deletebutton="false"
  79.                                 data-widget-fullscreenbutton="false"
  80.                                 data-widget-custombutton="false"
  81.                                 data-widget-collapsed="true"
  82.                                 data-widget-sortable="false"
  83.                 
  84.                                 -->
  85.                                 <header>
  86.                                     <span class="widget-icon"> <i class="fa fa-table"></i> </span>
  87.                                     <h2>All Registerations</h2>
  88.                 
  89.                                 </header>
  90.                 
  91.                                 <!-- widget div-->
  92.                                 <div>
  93.                 
  94.                                     <!-- widget edit box -->
  95.                                     <div class="jarviswidget-editbox">
  96.                                         <!-- This area used as dropdown edit box -->
  97.                 
  98.                                     </div>
  99.                                     <!-- end widget edit box -->
  100.                 
  101.                                     <!-- widget content -->
  102.                                     <div class="widget-body no-padding">
  103.                 
  104.                                         <table id="datatable_tabletools" class="table table-striped table-bordered table-hover" width="100%">
  105.                                             <thead>
  106.                                             
  107.                                                     <tr>
  108.                                                     <th data-hide="phone">ID</th>
  109.                                                     <th data-class="expand">Name</th>
  110.                                                     <th>Email</th>
  111.                                                     <th data-hide="phone">Mobile</th>
  112.                                                     <th data-hide="phone,tablet">City</th>
  113.                                                     <th data-hide="phone,tablet">State</th>
  114.                                                     <th data-hide="phone,tablet">Date</th>
  115.                                                 </tr>
  116.  
  117.                                             </thead>
  118.                                             <tbody>
  119.                                             <%
  120.                                                 mycon.con("Select * from lk_profiles order by id desc", 1, 1)
  121.                                                 While mycon.sql1.Read
  122.                                                 %>
  123.                                                     <tr>
  124.                                                     <td><%= mycon.sql1("userid")%> <a href="viewuser.aspx?userid=<%= mycon.sql1("userid")%>">VIEW</a> </td>
  125.                                                     <td><%= mycon.sql1("clname")%></td>
  126.                                                     <td><%= mycon.sql1("email")%></td>
  127.                                                     <td><%= mycon.sql1("mobile")%></td>
  128.                                                     <td><%= mycon.sql1("city")%></td>
  129.                                                     <td><%= mycon.sql1("state")%></td>
  130.                                                     <td><%= Day(mycon.sql1("date"))%>-<%= Month(mycon.sql1("date"))%>-<%= Year(mycon.sql1("date"))%></td>
  131.                                                 </tr>
  132.                                             <%
  133.                                             End While
  134.                                             mycon.sql1.Close()
  135.                                                 %>
  136.                                             </tbody>
  137.                                         </table>
  138.                 
  139.                                     </div>
  140.                                     <!-- end widget content -->
  141.  
  142.  
  143.  
  144.             
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.         </div>
  154.         <!-- END MAIN CONTENT -->
  155.  
  156.     </div>
  157.     <!-- END MAIN PANEL -->
  158.     <!-- PAGE FOOTER -->
  159.     <!--#include file="pagefooter.ascx" -->
  160.     <!-- END PAGE FOOTER -->
  161.     <!-- SHORTCUT AREA : With large tiles (activated via clicking user name tag)
  162.     Note: These tiles are completely responsive,
  163.     you can add as many as you like
  164.     -->
  165.    <!--#include file="shortcuts.ascx" -->
  166.     <!-- END SHORTCUT AREA -->
  167.     <!--================================================== -->
  168.  
  169.        <!-- PACE LOADER - turn this on if you want ajax loading to show (caution: uses lots of memory on iDevices)-->
  170.         <script data-pace-options='{ "restartOnRequestAfter": true }' src="js/plugin/pace/pace.min.js"></script>
  171.  
  172.         <!-- Link to Google CDN's jQuery + jQueryUI; fall back to local -->
  173.         <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
  174.         <script>
  175.             if (!window.jQuery) {
  176.                 document.write('<script src="js/libs/jquery-2.0.2.min.js"><\/script>');
  177.             }
  178.         </script>
  179.  
  180.         <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
  181.         <script>
  182.             if (!window.jQuery.ui) {
  183.                 document.write('<script src="js/libs/jquery-ui-1.10.3.min.js"><\/script>');
  184.             }
  185.         </script>
  186.  
  187.         <!-- IMPORTANT: APP CONFIG -->
  188.         <script src="js/app.config.js"></script>
  189.  
  190.         <!-- JS TOUCH : include this plugin for mobile drag / drop touch events-->
  191.         <script src="js/plugin/jquery-touch/jquery.ui.touch-punch.min.js"></script> 
  192.  
  193.         <!-- BOOTSTRAP JS -->
  194.         <script src="js/bootstrap/bootstrap.min.js"></script>
  195.  
  196.         <!-- CUSTOM NOTIFICATION -->
  197.         <script src="js/notification/SmartNotification.min.js"></script>
  198.  
  199.         <!-- JARVIS WIDGETS -->
  200.         <script src="js/smartwidgets/jarvis.widget.min.js"></script>
  201.  
  202.         <!-- EASY PIE CHARTS -->
  203.         <script src="js/plugin/easy-pie-chart/jquery.easy-pie-chart.min.js"></script>
  204.  
  205.         <!-- SPARKLINES -->
  206.         <script src="js/plugin/sparkline/jquery.sparkline.min.js"></script>
  207.  
  208.         <!-- JQUERY VALIDATE -->
  209.         <script src="js/plugin/jquery-validate/jquery.validate.min.js"></script>
  210.  
  211.         <!-- JQUERY MASKED INPUT -->
  212.         <script src="js/plugin/masked-input/jquery.maskedinput.min.js"></script>
  213.  
  214.         <!-- JQUERY SELECT2 INPUT -->
  215.         <script src="js/plugin/select2/select2.min.js"></script>
  216.  
  217.         <!-- JQUERY UI + Bootstrap Slider -->
  218.         <script src="js/plugin/bootstrap-slider/bootstrap-slider.min.js"></script>
  219.  
  220.         <!-- browser msie issue fix -->
  221.         <script src="js/plugin/msie-fix/jquery.mb.browser.min.js"></script>
  222.  
  223.         <!-- FastClick: For mobile devices -->
  224.         <script src="js/plugin/fastclick/fastclick.min.js"></script>
  225.  
  226.         <!--[if IE 8]>
  227.  
  228.         <h1>Your browser is out of date, please update your browser by going to www.microsoft.com/download</h1>
  229.  
  230.         <![endif]-->
  231.  
  232.         <!-- Demo purpose only -->
  233.         <script src="js/demo.min.js"></script>
  234.  
  235.         <!-- MAIN APP JS FILE -->
  236.         <script src="js/app.min.js"></script>
  237.  
  238.         <!-- ENHANCEMENT PLUGINS : NOT A REQUIREMENT -->
  239.         <!-- Voice command : plugin -->
  240.         <script src="js/speech/voicecommand.min.js"></script>
  241.  
  242.         <!-- PAGE RELATED PLUGIN(S) 
  243.         <script src="..."></script>-->
  244.  
  245.         
  246.  
  247.         <script type="text/javascript">
  248.  
  249.             // DO NOT REMOVE : GLOBAL FUNCTIONS!
  250.  
  251.             $(document).ready(function () {
  252.  
  253.                 pageSetUp();
  254.  
  255.                 // PAGE RELATED SCRIPTS
  256.  
  257.                 // switch style change
  258.                 $('input[name="checkbox-style"]').change(function () {
  259.                     //alert($(this).val())
  260.                     $this = $(this);
  261.  
  262.                     if ($this.attr('value') === "switch-1") {
  263.                         $("#switch-1").show();
  264.                         $("#switch-2").hide();
  265.                     } else if ($this.attr('value') === "switch-2") {
  266.                         $("#switch-1").hide();
  267.                         $("#switch-2").show();
  268.                     }
  269.  
  270.                 });
  271.  
  272.                 // tab - pills toggle
  273.                 $('#show-tabs').click(function () {
  274.                     $this = $(this);
  275.                     if ($this.prop('checked')) {
  276.                         $("#widget-tab-1").removeClass("nav-pills").addClass("nav-tabs");
  277.                     } else {
  278.                         $("#widget-tab-1").removeClass("nav-tabs").addClass("nav-pills");
  279.                     }
  280.  
  281.                 });
  282.  
  283.             });
  284.  
  285.         </script>
  286.  
  287.         <!-- Your GOOGLE ANALYTICS CODE Below -->
  288.         <script type="text/javascript">
  289.             var _gaq = _gaq || [];
  290.             _gaq.push(['_setAccount', 'UA-XXXXXXXX-X']);
  291.             _gaq.push(['_trackPageview']);
  292.  
  293.             (function () {
  294.                 var ga = document.createElement('script');
  295.                 ga.type = 'text/javascript';
  296.                 ga.async = true;
  297.                 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  298.                 var s = document.getElementsByTagName('script')[0];
  299.                 s.parentNode.insertBefore(ga, s);
  300.             })();
  301.  
  302.         </script>
  303.  
  304. </body>
  305.  
  306. </html>