function _stats_network_table_row($so, $site, $menu = 'site-action-menu') { $id = $so->trade['domain']; $domain = htmlspecialchars($so->trade['domain']); $status = $so->trade['status']; $status_lc = strtolower($status); $site = string_htmlspecialchars($site); ?> <tr <?php if (!empty($so->trade['color'])) { echo 'bgcolor="' . $so->trade['color'] . '"'; } ?> id="item-<?php echo $id; ?> " class="ta-right<?php if ($so->i_raw_60 === STATS_UNKNOWN) { echo ' unknown'; } ?> "> <?php if (!empty($menu)) { ?> <td class="ta-center"> <input type="checkbox" value="<?php echo $id; ?> "/> </td> <?php } ?> <td class="va-middle" style="padding-right: 4px;"<?php if (empty($menu)) { ?> colspan="2"<?php } ?> > <?php if (!empty($menu)) { ?> <a href="<?php echo $site['url']; ?> " class="cp-login fw-bold" cpurl="<?php echo $site['url']; ?> " cppass="******" cpuser="******" target="_blank"><?php echo $domain; ?> </a> <span class="icon-menu-container" menu="#<?php echo $menu; ?> " style="position: relative;"><img src="images/actions-16x16.png"/></span> <?php } else { ?> <?php echo $domain; ?> <?php } ?> </td> <td class="i_raw_60"><?php echo format_int_to_string($so->i_raw_60); ?> </td> <td><?php echo format_int_to_string($so->o_raw_60); ?> </td> <td><?php echo format_int_to_string($so->c_raw_60); ?> </td> <td style="padding: 2px 0px;"> <div class="quality quality-good" style="width: <?php echo $so->i_ctry_g_pct_60; ?> %" title="Good: <?php echo $so->i_ctry_g_pct_60; ?> %"></div> <div class="quality quality-normal" style="width: <?php echo $so->i_ctry_n_pct_60; ?> %" title="Normal: <?php echo $so->i_ctry_n_pct_60; ?> %"></div> <div class="quality quality-bad" style="width: <?php echo $so->i_ctry_b_pct_60; ?> %" title="Bad: <?php echo $so->i_ctry_b_pct_60; ?> %"></div> </td> <td><?php echo $so->prod_60; ?> %</td> <td><?php echo $so->return_60; ?> %</td> <td><?php echo format_int_to_string($so->i_raw_24); ?> </td> <td><?php echo format_int_to_string($so->o_raw_24); ?> </td> <td><?php echo format_int_to_string($so->c_raw_24); ?> </td> <td style="padding: 2px 0px;"> <div class="quality quality-good" style="width: <?php echo $so->i_ctry_g_pct_24; ?> %" title="Good: <?php echo $so->i_ctry_g_pct_24; ?> %"></div> <div class="quality quality-normal" style="width: <?php echo $so->i_ctry_n_pct_24; ?> %" title="Normal: <?php echo $so->i_ctry_n_pct_24; ?> %"></div> <div class="quality quality-bad" style="width: <?php echo $so->i_ctry_b_pct_24; ?> %" title="Bad: <?php echo $so->i_ctry_n_pct_24; ?> %"></div> </td> <td><?php echo format_int_to_string($so->i_uniq_24); ?> </td> <td><?php echo $so->prod_24; ?> %</td> <td><?php echo $so->skim_24; ?> %</td> <td><?php echo $so->return_24; ?> %</td> </tr> <?php }
Domain </th> <th style="width: 150px;"> Owner </th> <th style="width: 150px;"> Category </th> <th style="width: 100px;"> </th> </tr> </thead> <tbody> <?php foreach ($sites as $original) { $item = string_htmlspecialchars($original); include 'network-sites-tr.php'; } ?> </tbody> </table> <form id="form-network-login" action="" method="post" target="_blank"> <input type="hidden" name="cp_username" value=""/> <input type="hidden" name="cp_password" value=""/> <input type="hidden" name="r" value="_xIndexShow"/> </form> <div id="toolbar"> <div id="toolbar-content"> <div id="toolbar-icons">
E-mail Templates Search and Replace </div> <form method="post" action="xhr.php" enctype="multipart/form-data" class="xhr-form"> <div id="dialog-panel" dwidth="900px"> <div style="padding-top: 2px;"> <fieldset class="short-labels"> <legend>Search and Replace Settings</legend> <div class="field"> <label>Templates:</label> <span> <?php $templates = string_htmlspecialchars(dir_read_files(DIR_TEMPLATES, REGEX_EMAIL_TEMPLATES, true)); ?> <select name="templates[]" id="templates" multiple="multiple" size="10"> <?php echo form_options($templates); ?> </select> </span> </div> <div class="field"> <label>Search For:</label> <span><textarea name="search" id="search" rows="5" cols="88"></textarea></span> </div> <div class="field">
<?php global $C; $C = string_htmlspecialchars($C); check_image_resizer(); ?> <div id="dialog-content"> <div id="dialog-header"> <img src="images/dialog-close-22x22.png" id="dialog-close"/> Global Software Settings </div> <form method="post" action="xhr.php" enctype="multipart/form-data" class="xhr-form"> <div id="dialog-panel" dwidth="900px"> <div style="padding-top: 2px;"> <fieldset> <legend>Base Settings</legend> <div class="field"> <label>Site Name:</label> <span><input type="text" size="70" value="<?php echo $C['site_name']; ?> " name="site_name"/></span> </div> <div class="field"> <label>Traffic URL:</label> <span><input type="text" size="80" value="<?php
function _xIncludeCapture($file, $original = null, $vars = array()) { extract($vars, EXTR_SKIP); $item = string_htmlspecialchars($original); ob_start(); include $file; return ob_get_clean(); }