You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
information-system/author/views/in_complete.php

64 lines
2.3 KiB
PHTML

<link rel="stylesheet" href="/js/jquery-ui/smoothness/jquery-ui-1.8.21.custom.css" type="text/css">
<script type="text/javascript" src="/js/jquery-ui/jquery-ui-1.8.21.custom.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#startdate,#enddate").datepicker({
showButtonPanel: true,
dateFormat:'yy-mm-dd'
});
});
</script>
<div class="row-fluid">
<div class="span2" style="padding-left:15px;">
<?php echo $nav_view; ?>
</div>
<div class="span8" style="border-right:1px solid #ddd;border-left:1px solid #ddd; min-height:1024px; padding:0 20px;">
<div class="span12" id="tasks-container" style="margin-left:0;">
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Task name</th>
<th>Type</th>
<th>Sent by</th>
<th>Upload</th>
<th>Finished</th>
<th>Textcount</th>
<th>Charge</th>
<th>Articles Online</th>
</tr>
</thead>
<tbody>
<?php foreach($task_list as $key=>$task){ ?>
<tr class="info">
<td><?php echo $key+1; ?></td>
<td>
<?php if(have_unread_sms('task',$task->t_id)){ ?>
<a href="<?php echo site_url('welcome/view/'.$task->t_id); ?>#sms"><i class="icon-envelope"></i></a>
<?php } ?>
<a href="<?php echo site_url('welcome/view/'.$task->t_id); ?>"><?php echo $task->t_title; ?></a>
</td>
<td><?php echo $task->t_td_type; ?></td>
<td><?php echo get_author_name($task->t_ht_op_code); ?></td>
<td><?php echo date('m/d/Y',strtotime($task->t_datetime)); ?></td>
<td><?php echo date('m/d/Y',strtotime($task->last_version->ta_datetime)); ?></td>
<td><?php echo $task->last_version->ta_count; ?></td>
<td><?php echo $task->last_version->ta_charge; ?></td>
<td>
<?php $site_url='#'; if(isset($task->last_version->ic_sitecode))$site_url=$site_config[$task->last_version->ic_sitecode]['site_url'].$task->last_version->ic_url;?>
<?php if($site_url!='#') { ?><a target="_blank" href="<?php echo $site_url;?>">Click to See</a><?php } else{echo '#';} ?>
</td>
</tr>
<?php } ?>
</tbody>
</table>
<div class="pagination">
<ul><?php echo($page['htmls']);?></ul>
</div>
</div>
</div>
<div class="span2" style="padding-right:12px;"><?php echo $rank_view; ?></div>
</div>