Sindbad~EG File Manager

Current Path : /home/numerotech/www/livemt2023.aios-scientificcommittee.org/app/views/poll/
Upload File :
Current File : //home/numerotech/www/livemt2023.aios-scientificcommittee.org/app/views/poll/bigscreen1.blade.php

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">

    <title>{{ CustomClass::$Title }}</title>

    {{ HTML::style('/css/bootstrap.min.css') }}
    {{ HTML::style('/css/style.css') }}    
    {{ HTML::style('/css/polls.css') }}  
    {{ HTML::style('/css/morris.css') }} 

    {{-- {{ HTML::style('/css/custom.css') }} --}}
    {{-- {{ HTML::style('/css/bootstrap-theme.min.css') }}     --}}
    {{-- {{ HTML::style('/font-awesome-4.2.0/css/font-awesome.min.css') }} --}}
    {{-- {{ HTML::style('css/selectize.bootstrap3.css') }} --}}
    {{-- {{ HTML::style('css/bootstrap-datetimepicker.css') }} --}}

     
<style>

</style>
</head>
<body>
 

    {{ HTML::script('/js/jquery.min.js') }}   
    {{ HTML::script('/js/bootstrap.min.js') }}    
    {{ HTML::script('/js/jquery.sticky.js') }}    

     {{ HTML::script('/js/raphael-min.js') }}
   {{ HTML::script('/js/morris.js') }}   

    
<style type="text/css">


table td {
  text-align: left; }

  #bar-camp text
  {
    fill:#000;     
  }
  
  .staticlabel
  {
    margin: 5px;
    font-weight: bold;
    font-size: 20px;    
  }

  .color-box {
    width: 15px;
    height: 15px;
    display: inline-block;
    background-color: #ccc;
    /* position: absolute; */
    left: 5px;
    top: 5px;
}

  td {
overflow: hidden;
max-width: 400px;
word-wrap: break-word;
}

</style>    
    
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

    <script type="text/javascript">
        var baseUrl   = "{{ url('/') }}";
    </script>    
    
    
  </head>

  <body>
<noscript>
    <style type="text/css">
        .pagecontainer {display:none;}
    </style>
    <div class="noscriptmsg">
      {{ CustomClass::$Title }} works best with JavaScript enabled    
    </div>
</noscript>

<header style="margin-bottom:0px;">  
  <div class="container">
    <div class="col-lg-6 col-md-6 col-sm-12">
      <div class="logo"> <img style="width: 64px;"  src="{{asset('images/logo.svg') }}" alt="{{  CustomClass::$Title_FullName }}" class="img-responsive"> </div>
    </div>
    <div class="col-lg-6 col-md-6 col-sm-12 header_nav text-center">

   <h1 style="mar" >{{ CustomClass::$Title }}.  POLL CENTER</h1>    
    </div>
  </div>
</header>


<?php 

$colors = ["#003399","#cc0000","#4a148c","#f4511e","#006064","#880e4f"];
$json_color = json_encode($colors);

 ?>


<div class="row" style="background: #111;">
  <div class="container " style="padding: 20px;background: #fff;">
  
  {{ Form::open(array('url'=>''))}}    

   <input id="hdnpollid" type="hidden" value="{{ $poll->poll_id }}">
      <div class="row">
        <div class="col-sm-12 form-group text-center result-title">
         <h2 class="margin20">{{$poll->title}}</h2>
        </div>
      </div>

       @if(empty($poll->hall_name) && empty($poll->session_name))      
       @else 
       <div class="row">
        @if(!empty($poll->hall_name))
            <div class="col-md-6"> 
              <p>{{ $poll->hall_name  }}</p>
            </div>
        @endif
        @if(!empty($poll->session_name))
            <div class="col-md-6">
              <p>{{ $poll->session_name }}</p>
            </div>
          </div>
        @endif
       @endif

      <div class="row">
      <div class="col-sm-12 "> 
      <div class="row">
        <div class="col-sm-12 form-group ">            
         <p>{{ $poll->description }}</p>
        </div> 
      </div>           
      

      <div class="row">
        <div class="col-sm-6 form-group">
            <b>Started @ <strong>{{ date('d/m/Y H:i',strtotime($poll->start_at)) }}</strong></b>
        </div>
        <div class="col-sm-6 form-group">
        <?php


        $currnet_time  =  date('d/m/Y H:i');
        $start_time =  date('d/m/Y H:i',strtotime($poll->start_at));
        $end_time =  date('d/m/Y H:i',strtotime($poll->end_at));
        $show_time = "";



        if($start_time > $currnet_time)
        {
           $show_time = $end_time;
        }
        elseif($currnet_time < $end_time)
        {
            $show_time = $currnet_time;
        }
        else
        {
           $show_time = $end_time; 
        }


        ?>
            <b>Ended @ <strong id="endtime">{{ $show_time }}</strong></b>
        </div>
      </div>    
      </div>  
      </div>

      <div class="row">
        <div class="col-sm-12  form-group  ">
        <h2 class="margin10">Member Comments</h2>
       
        
       <div id="divcommand">
       </div>
              </div>
              
          </div>
        </div>
      </div>    

     <!--  </div>
      </div> -->
{{-- 
      <div class="row">
                <div class ="col-sm-12 text-center">
                  <a href="{{ url('/').'/pollindex'}}"class="btn btn-primary" >back</a>
                </div>
      </div> --}}
            
  {{ Form::close() }}

<script>

var baseUrl   = "{{ url('/') }}";

    $(function () {
       getCommand();
        window.setInterval(getCommand, 1000);
        window.setInterval(getEndTime, 1000);

   
    
   
});

function getEndTime()
{
   $.ajax({
            url:  baseUrl + "/getendtime/"+ $("#hdnpollid").val(),
            success: function (data){                
                $("#endtime").html(data);
                },
        });
}   

function getCommand(){
        $.ajax({
            url:  baseUrl + "/getcommand/"+ $("#hdnpollid").val(),
            dataType:'html',
            success: function (data){                
                $("#divcommand").html(data);
             },
        });

    }


    function setStatic(arr)
    {
        var str = "";

          $.each(arr, function(i, item){
                    str +="<span class=\"color-box\" style=\"background-color:"+getColors(i)+"\"></span> <span class=\"staticlabel\">" + item.x + " : " + item.y + "</span>";        
                });

        $("#Static_text").html(str);
    }

    

    function getColors(i)
    {
       var colors = ["#003399","#cc0000","#4a148c","#f4511e","#006064","#880e4f"];

       return colors[i];

    }
  </script>

</div>



  </div>
</div>


  @yield('scriptBottom')

    <script type="text/javascript">
    $('#toggle-menu').click(function(){
          $(this).next().slideToggle();
        });
  $(document).ready(function(){
    $(".sidebar").sticky({topSpacing:10});
  });
</script>

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-40923749-1', 'auto');
  ga('send', 'pageview');

</script>
</body>
</html>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists