} } if (isset($options['append'])) { if ($options['append'] === FALSE || yes_or_no($options['append']) == 'yes') { $options['a'] = FALSE; } else { if (yes_or_no($options['append']) != 'no') { die('phpctags: Invalid value for "append" option' . PHP_EOL); } } } if (isset($options['recurse'])) { if ($options['recurse'] === FALSE || yes_or_no($options['recurse']) == 'yes') { $options['R'] = FALSE; } else { if (yes_or_no($options['recurse']) != 'no') { die('phpctags: Invalid value for "recurse" option' . PHP_EOL); } } } // if option -R is given and no file is specified, use current working directory if (isset($options['R']) && empty($argv)) { $argv[] = getcwd(); } try { $ctags = new PHPCtags($options); $ctags->addFiles($argv); $ctags->setCacheFile(isset($options['C']) ? $options['C'] : null); $result = $ctags->export(); } catch (Exception $e) { die("phpctags: {$e->getMessage()}" . PHP_EOL);
include 'admin_menu.php'; ?> </div> <div class="span9"> <h1>Manage Users</h1> <table class="table table-striped"> <tr><th>UserID</th><th>First Name</th><th>E-Mail</th><th>Created On</th><th>Active</th><th>Edit</th></tr> <?php $users = $db->select('tbl_usermaster'); foreach ($users as $user) { echo "<tr>"; echo "<td>" . $user['sUserName'] . "</td>"; echo "<td>" . $user['sFirstName'] . "</td>"; echo "<td>" . $user['sMailID'] . "</td>"; echo "<td>" . $user['dtCreated'] . "</td>"; echo "<td>" . yes_or_no($user['bActive']) . "</td>"; echo "<td>" . $user['hybridauth_provider_name'] . "</td>"; ?> <td> <div class="btn-group"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> Edit <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href='update_user.php?id=<?php echo $user['sUserName']; ?> ' ><i class='icon icon-cog'></i> Edit</a></li> <li><a href='delete_user.php?id=<?php echo $user['sUserName'];
function renderSingleParam($params, $values, $string_val = false) { $i = 0; $html = ""; foreach ($values as $key => $value) { $html .= "<tr>"; $html .= "<td>" . $params[$i++] . "</td>"; if ($string_val == true) { $html .= "<td>" . $values[$key] . "</td>"; } else { $html .= "<td>" . yes_or_no($values[$key]) . "</td>"; } $html .= "</tr>"; } echo $html; }
} ?> </tr> <tr> <td>Global Finance</td> <?php foreach ($brokers as $broker) { echo "<td class='value'>" . yes_or_no($broker->m_Awards['bGlobalFinance']) . "</td>"; } ?> </tr> <tr> <td>Indian Banks Association</td> <?php foreach ($brokers as $broker) { echo "<td class='value'>" . yes_or_no($broker->m_Awards['bIndianBanksAssociation']) . "</td>"; } ?> </tr> </tbody> </table> </div> <div class="alert alert-warning"> <strong>Disclaimer.</strong> We can not guarantee that the information on this page is 100% correct. If you think that any information for the brokers is wrong or missing, please <a href="contact_us.php">contact us</a>. <br/>Some company and product names, logos on this site may be trademarks or registered trademarks of individual companies and are respectfully acknowledged. </div> </div> <div id="sidebar" class="span3"> <?php include 'sidebar.php'; ?>
<div class="span3"> <?php include 'admin_menu.php'; ?> </div> <div class="span9"> <h1>Manage Brokers</h1> <table class="table table-striped"> <tr><th>Broker Name</th><th>Created On</th><th>Active</th><th>Edit</th><th>Parameters</th><th>Reviews</th></tr> <?php $brokers = $db->select('tbl_brokermaster'); foreach ($brokers as $broker) { echo "<tr>"; echo "<td>" . $broker['sBrokerName'] . "</td>"; echo "<td>" . $broker['dtCreated'] . "</td>"; echo "<td>" . yes_or_no($broker['bActive']) . "</td>"; ?> <td> <div class="btn-group"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> Edit <span class="caret"></span> </a> <ul class="dropdown-menu"> <li><a href="update_broker.php?id=<?php echo $broker['nBrokerID']; ?> ">Update</a></li> <li><a href="delete_broker.php?id=<?php echo $broker['nBrokerID']; ?>
renderSingleParam($params, $broker->m_SMSAlerts); ?> <tr><td colspan="2" class="sub_param">Research</td></tr> <?php $params = array('Fundamental Research Reports', 'Technical Research Reports'); renderSingleParam($params, $broker->m_ResearchParams); ?> <tr><td colspan="2" class="sub_param">SMS Query</td></tr> <?php $params = array('Ledger Balance', 'Orders', 'Trades', 'Net Position'); renderSingleParam($params, $broker->m_SMSQuery); ?> <tr> <td>Portfolio Tracker</td> <td><?php echo yes_or_no($broker->m_VASParams['bPortfolioTracker']); ?> </td> </tr> </tbody> <tbody> <tr><th colspan="2" class="param_heading">Security</th></tr> <?php $params = array('Two Factor Authentication', 'SSL Encryption'); renderSingleParam($params, $broker->m_SecurityParams); ?> </tbody> <tbody> <tr><th colspan="2" class="param_heading">Charges</th></tr> <tr> <td>Account Opening Charges</td>