<!-- Profile Image --> <div class="box box-primary"> <div class="box-body box-profile"> <img class="profile-user-img img-responsive img-circle" src="<?php echo $dp_name; ?> " alt="User profile picture" style="height: 110px; width: 110px;"> <h3 class="profile-username text-center"><?php echo get_name($user_id); ?> </h3> <p class="text-muted text-center"><?php $dept = getuserfield_academics('dept_id', $user_id); echo getdept('dept_name', $dept); ?> </p> <!-- <ul class="list-group list-group-unbordered"> <li class="list-group-item"> <b>Followers</b> <a class="pull-right">1,322</a> </li> <li class="list-group-item"> <b>Following</b> <a class="pull-right">543</a> </li> <li class="list-group-item"> <b>Friends</b> <a class="pull-right">13,287</a> </li> </ul>
if ($action == "edit_budget") { $hk_id_query = fp_hk_id($hk_id); $hk_result = mysql_query($hk_id_query); while ($hk_row = mysql_fetch_array($hk_result, MYSQL_ASSOC)) { // var_dump($hk_row); $loc = $hk_row['loc']; $dept = $hk_row['dept']; $hk_budget = number_format($hk_row['budget'], 2); $hk_expenses = number_format($hk_row['actual_budget'], 2); $mos = $hk_row['mos']; $yr = $hk_row['yr']; $year = get_year_by_id($yr); } $mos_def = getmonth($mos); $loc_def = getloc($loc); $dept_def = getdept($dept); $emp_querys = emp_querys($eid, null); // echo $emp_querys; $emp_result = mysql_query($emp_querys); while ($emp_row = mysql_fetch_array($emp_result, MYSQL_ASSOC)) { $last = $emp_row['last']; $first = $emp_row['first']; $middle = $emp_row['middle']; $pos = $emp_row['position']; $name = $last . ", " . $first . " " . $middle; } $body = '<div class="box-content responsive" style="font-size: 12px;"> <center> <h3>' . $loc_def . '(' . $dept_def . ')' . '</h3></center><br> <form id="defaultForm" method="post" class="form-horizontal"> <input type="hidden" name="id" value="' . $id . '" />