Example #1
0
	<table id="file_changes" class="zebra-striped">
	<thead>
	<th class="yellow">Ver</th>
	<th class="red">Location & File Name</th>
	<th class="blue">Size</th>
	<th class="green">Operation</th>
	<th class="green">Time</th>
	<th class="purple">Description</th>
	</thead>
	<?php 
    for ($i = 0; $i < $file_change_number; $i++) {
        $fcid = $db_array[$i]['fcid'];
        $version = $db_array[$i]['version'];
        $name = $db_array[$i]['name'];
        $directory = fetch_directory_full($db_array[$i]['did']);
        $size = file_size_convert($db_array[$i]['size']);
        $operation = $db_array[$i]['type'];
        $time = $db_array[$i]['time'];
        $description = $db_array[$i]['description'];
        echo '<tr class="td_link" onclick="location.href=\'download.php?fc=' . $fcid . '&fn=' . $name . '\'"><td>';
        echo $version;
        echo '</td><td class="black">';
        echo $directory . "<strong>" . $name . "</strong>";
        echo "</td><td>";
        echo $size;
        echo "</td><td>";
        echo operation_code($operation);
        echo "</td><td>";
        echo '[' . time_uk($time) . ']';
        echo "</td><td>";
        echo $description;
Example #2
0
	<table id="task_file" class="zebra-striped">
	<thead>
	<th class="yellow">Ver</th>
	<th class="red">Location & File Name</th>
	<th class="blue">Size</th>
	<th class="green">Operation</th>
	<th class="green">Time</th>
	<th class="purple">Description</th>
	</thead>
	<?php 
    for ($i = 0; $i < $file_number; $i++) {
        $fid = $db_array_task_file[$i]['fid'];
        $version = $db_array_task_file[$i]['version'];
        $name = $db_array_task_file[$i]['name'];
        $directory = fetch_directory_full($db_array_task_file[$i]['did']);
        $size = file_size_convert($db_array_task_file[$i]['size']);
        $operation = $db_array_task_file[$i]['type'];
        $time = $db_array_task_file[$i]['time'];
        $description = $db_array_task_file[$i]['description'];
        echo '<tr class="td_link" onclick="location.href=\'file.php?f=' . $fid . '\'"><td>';
        echo $version;
        echo '</td><td class="black">';
        echo $directory . "<strong>" . $name . "</strong>";
        echo "</td><td>";
        echo $size;
        echo "</td><td>";
        echo operation_code($operation);
        echo "</td><td>";
        echo '[' . time_uk($time) . ']';
        echo "</td><td>";
        echo $description;