function showData($data, $con, $limit, $adjacent)
{
    $page = $data['page'];
    if ($page == 1) {
        $start = 0;
    } else {
        $start = ($page - 1) * $limit;
    }
    $workFlow = new WorkFlow();
    $rows = $workFlow->cntWFList();
    $selOpt1 = $workFlow->getWFList($start, $limit);
    foreach ($selOpt1 as $key => $val) {
        ?>
        <ul style="float: left; display: inline; width: 100%;">
            <li style="float: left; width: 5%;"><?php 
        echo $key + 1;
        ?>
)</li>
            <li style="float: left; width: 20%; padding-left: 10px;"><?php 
        echo ucfirst($val['wf_name']);
        ?>
</li>
            <li style="float: left; width: 20%; padding-left: 100px;"><?php 
        echo $val['wf_created'];
        ?>
</li>
            <li style="float: left; padding-left: 100px;"><a href="workflow.php?id=<?php 
        echo $val['wf_id'];
        ?>
">[View]</a> / <a href="#" onclick="popup('popUpDiv', 'edit', < ?php echo $val['wf_id']; ? > )">[Edit]</a> / <a href="#" onclick="deleteWF( < ?php echo $val['wf_id']; ? > )">[Delete]</a></li>
        </ul>
        <?php 
    }
    pagination($limit, $adjacent, $rows, $page);
}
<?php

include_once "config/include.php";
include_once "application/model/tasks_model.php";
include_once "application/model/workflow_model.php";
// Work Flow Class Object
$wfObj = new WorkFlow();
$selOpt = $wfObj->getWFList();
// Task Class Object
$wfTaskObj = new Tasks();
$wfTaskList = $wfTaskObj->getWFTaskList();
// Work Flow Name
if (isset($_GET['id']) and is_numeric($_GET['id'])) {
    $wfId['id'] = $_GET['id'];
    $wfData = $wfObj->getWFById($wfId);
}
include_once VIEW_PATH . "/task-list.html";