<script type="text/javascript">
    $(document).ready(function(){
<!-- page script -->
        $('.datatables').DataTable();
        $('.datetimepicker').datetimepicker({
            viewMode: 'months',
            format: 'DD-MM-YYYY'
        });

    });
    
	function clientvote(){
		
		
		var urls = "<?php echo base_url().'voting/selectcandidate/'.$position[0]->positionID.'/0/'.$projectID; ?>";
    	window.location = urls;
		
	}
	
	
</script>
<style>
 
 	.modal-content{
    	border-top-left-radius: 2em;
		border-top-right-radius: 2em;
		border-bottom-left-radius: 2em;
		border-bottom-right-radius: 2em;
	}
	.modal-header{
		color:#F0F;
	}
	
	#wow{
    	border-radius: 25px;
    	border: 2px solid #FC0;
	}
	
	
</style>


                <div id="popup_modal" class="modal fade in">
                  <div class="modal-dialog">
                    <div class="modal-content">
                      <div class="modal-header">
                        <h3 class="modal-title"><?php echo $this->lang->line('message') ?></h3>
                      </div>
                      <div class="modal-body" id="message">
                      	<p style="font-size:16px; font-family:roboto"></p>
                      </div>
                      <div class="modal-footer">
                        <button type="button" class="btn btn-warning" data-dismiss="modal"><i class="fa fa-minus-circle"></i> <?php echo $this->lang->line('close') ?></button>
                      </div>
                      
                    </div><!-- /.modal-content -->
                  </div><!-- /.modal-dialog -->
                </div><!-- end addRowModal -->


<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1 style="font-family:roboto">
            <b>&nbsp;</b>
        </h1>
    </section>

    <!-- Main content -->
    <section class="content">
        


        <div class="row">
            <div class="col-md-12">
                <!-- Horizontal Form -->

                <!-- general form elements disabled -->
                <div class="box box-info">
                    <div class="box-header with-border " style=" background-color:#00F">
                        <h3  class="box-title">
                            <h4 class="pull-left" style="font-family:roboto; color:#FFF"><b><?php echo $this->lang->line('voterinfo');?></b></h4>
                        </h3>
                    </div><!-- /.box-header --><br />
                    
                    
                    <div class="box-body" id="wow" align="center"><br />
                        <div class="row">
                        	<div class="col-md-5" align="right">
                            	<img src="<?php echo base_url(); ?>img/logos/1.jpg" width="200px"/> 
                            </div>
                        	<div class="col-md-5" align="left">
                            	<p style="font-size:18px; color:#333"><b><?php echo $this->lang->line('memberNo');?> : <?php echo $voter[0]->noAhli; ?></b></p>
                            	<p style="font-size:18px; color:#333"><b><?php echo $this->lang->line('entityName');?> : <?php echo $voter[0]->name; ?></b></p>
                                <p style="font-size:18px; color:#333"><b><?php echo $this->lang->line('companyName');?> : <?php echo $voter[0]->companyName; ?></b></p> 
                            </div>
          				</div><br />
                        
                    </div><!-- /.box-body -->
                    
                    <div class="box-footer">
                    	<div class="row">
                        	<div class="col-md-12">
                            	<button type="button" onclick="clientvote()" class="btn bg-purple btn-lg fad" title="Start"><?php echo $this->lang->line('start');?> <i class="fa fa-mail-forward"></i></button>
                            </div>
                        </div>
                    </div>
                    
                </div><!-- /.box -->
                
                
            </div>
        </div>


    </section><!-- /.content -->
</div><!-- /.content-wrapper -->
