?> /><label for="newisslave1"><?php __("Yes, redirect this new domain to this one:"); ?> </label> <select name="slavedom" id="slavedom" class="inl"> <option value=""><?php __("-- Choose a domain --"); ?> </option> <?php $dl = $dom->get_domain_list($cuid); $ddl = array(); foreach ($dl as $d) { $ddl[$d] = $d; } eoption($ddl, "slavedom"); ?> </select> </fieldset> <?php } ?> <p> <input type="submit" class="inb ok" name="submit" value="<?php __("Add this domain"); ?> " /> </p> <p class="alert alert-info">
function add_var($stratatata, $stratatata_arr = null) { global $var, $allvars; echo "<div id='add_var_div_{$stratatata}'><form method=post>"; echo "<input type='hidden' name='strata' value='"; ehe($stratatata); echo "' />"; echo "<input type='hidden' name='var_name' value='"; ehe($var); echo "' />"; if (is_array($stratatata_arr)) { echo "<select name='strata_id'>"; eoption($stratatata_arr, null); echo "</select> "; } $infotype = $allvars['DEFAULT'][null][$var]['type']; if (is_array($infotype) && (isset($infotype['desc']) && isset($infotype['type']))) { var_input($infotype, "var_value"); } else { if (is_array($infotype) && !(isset($infotype['desc']) && isset($infotype['type']))) { echo "<ul>"; foreach ($allvars['DEFAULT'][null][$var]['type'] as $kk => $vv) { echo "<li>"; if (is_array($vv) && !(isset($vv['desc']) && isset($vv['type']))) { // if is an array but not the last array, used to contain DESC and TYPE echo $kk; echo "<ul>"; foreach ($vv as $ll => $mm) { echo "<li>"; var_input($infotype[$kk][$ll], "var_value_arr[{$kk}][{$ll}]"); echo "</li>"; } echo "</ul>"; } else { var_input($infotype[$kk], "var_value_arr[{$kk}]"); } echo "</li>"; } echo "</ul>"; } else { echo "<input type='text' class='int' name='var_value' value='' size='30' />"; } } echo "<br/>"; echo "<input type='button' class='inb cancel' name='cancel' value='" . _('Cancel') . "' onclick=\"\$('#add_var_div_{$stratatata}').toggle();\" />"; echo "<input type='submit' class='inb ok' value='" . _("Apply") . "'/>"; echo "</form></div>"; echo "<script type='text/javascript'>\$('#add_var_div_{$stratatata}').toggle();</script>"; }
?> </label> </td> </form> <td style="text-align:right"> <form method="get" name="formlist2" id="formlist2" action="mail_list.php"> <input type="hidden" name="domain_id" value="<?php echo $domain_id; ?> " /> <input type="hidden" name="offset" value="0" /> <?php __("Items per page:"); ?> <select name="count" class="inl" onchange="submit()"><?php eoption($counts, $count); ?> </select> </form> </td></tr></table> <form method="post" action="mail_del.php"> <input type="hidden" name="domain_id" value="<?php echo $domain_id; ?> " /> <table class="tlist"> <tr><th></th><th></th><th><?php __("Enabled"); ?> </th><th style="text-align:right"><?php
<!-- Shoot at random --> <form method="post" action="/campaign/call2/<?php echo $view["campaign"]["slug"]; ?> #mep" id="selcountry"> <p style="text-align: center;"> <label for="country"><?php __("Choose a Country:"); ?> </label> <select name="country" id="country" onchange="$('#selcountry').submit()"><option value=""><?php __("-- All Europe --"); ?> <?php eoption($view["countries"], $view["country"]); ?> </select> </p> <p class="action button"> <?php if ($view["callid"]) { ?> <input type="button" class="blue" id="callnow" type="submit" name="go" value="<?php __("Show Call & Feedback Popup"); ?> " /> <?php } else { ?> <input type="button" class="green" id="callnow" type="submit" name="go" value="<?php
<select name="collection" class="form-control" id="collection" onchange="form.submit()"> <option value=""><?php __("--- Any collection ---"); ?> </option> <option value="-1" <?php if ($collection == "-1") { echo "selected=\"selected\" "; } ?> ><?php __("--- No collection ---"); ?> </option> <?php eoption("collections", $collection, array("id", "name")); ?> </select> <label for="downloadable"><?php __("Downloadable?"); ?> </label> <select name="downloadable" class="form-control" id="downloadable" onchange="form.submit()"> <option value="-1"><?php __("--- Whatever ---"); ?> </option> <option value="0" <?php if ($downloadable == "0") { echo "selected=\"selected\" ";
?> <!-- Now the form --> <form method="post" action="/campaign/call/<?php echo $view["campaign"]["slug"]; ?> ?step=1"> <p style="text-align: center;"> <label for="country"><?php __("Choose your Country:"); ?> </label> <select name="country" id="country"><option value=""><?php __("-- All Europe --"); ?> <?php eoption($view["countries"], $_REQUEST["country"]); ?> </select> </p> <p> <label for="phone"><?php __("Enter your phone number to be connected with your MEP through our platform. <br />Go directly to the next step if you want to call him by yourself."); ?> <br /> <small> <?php __("Phone number must start by +<countrycode> <br />(example, +33 for France, then the number without the initial 0):"); ?> </small></label><input type="text" name="phone" id="phone" size="20" maxlength="32" value="<?php eher($_REQUEST["phone"]); ?> " />
?> </h3> <form method="post" action="adm_variables.php#overwrited_vars"> <?php $creator = $mem->get_creator_by_uid($member_id); $ml = array(); foreach ($admin->get_list() as $mid => $mlogin) { $ml[$mid] = $mlogin['login']; } echo _("See the vars for the account") . " "; echo "<select name='member_id'>"; eoption($ml, $member_id); echo "</select>"; echo " " . _("logged via") . " "; echo "<select name='fqdn_id'>"; eoption($dom->get_panel_url_list(), $fqdn_id); echo "</select> "; echo "<input type='submit' class='ina' value=\""; ehe(_("View")); echo "\" />"; ?> </form> <br/> <?php if ($member_id && $fqdn_id) { $sub_infos = $dom->get_sub_domain_all($fqdn_id); $domList = $dom->get_panel_url_list(); $fqdn = $domList[$fqdn_id]; $impersonated_conf = $variables->get_impersonated($fqdn, $member_id); echo sprintf(_("Here are values for members %s logged via %s"), '<b>' . $ml[$member_id] . '</b>', "<b>{$fqdn}</b>");
echo "</a>"; } $ez = $bro->is_sqlfile($c[$i]["name"]); if ($ez) { echo " <a href=\"javascript:;\" onClick=\"\$('#rest_db_{$i}').toggle();\">"; echo _("Restore SQL"); echo "</a>"; echo "<div id='rest_db_{$i}' style='display:none;'><fieldset><legend>" . _("Restore SQL") . "</legend>" . _("In which database to you want to restore this dump?"); echo "<br/>"; echo "<input type='hidden' name ='filename' value='" . htmlentities($R . "/" . $c[$i]["name"]) . "' />"; $dbl = array(); foreach ($mysql->get_dblist() as $v) { $dbl[] = $v['db']; } echo "<select id='db_name_{$i}'>"; eoption($dbl, '', true); echo "</select>"; echo "<a href='javascript:;' onClick='window.location=\"sql_restore.php?filename=" . urlencode($R . "/" . $c[$i]["name"]) . "&id=\"+encodeURIComponent(\$(\"#db_name_{$i}\").val()) ;'>" . _("Restore it") . "</a>"; echo "</fieldset></div>"; } echo "</td>\n"; } else { // DOSSIER : echo " <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"" . htmlentities($c[$i]["name"]) . "\" /></td>"; if ($p["showicons"]) { echo "<td width=\"28\" style='text-align: center;'><img src=\"icon/folder.png\" width=\"16\" height=\"16\" alt=\"\" /></td>"; } echo "<td><b><a href=\""; echo "bro_main.php?R=" . urlencode($R . "/" . $c[$i]["name"]); echo "\">"; ehe($c[$i]["name"]);
__("Email address"); ?> </label></th> <td><input type="text" name="nmail" id="nmail" class="int" value="<?php ehe($nmail); ?> " size="30" maxlength="128" /></td> </tr> <tr> <th><label for="type"><?php __("Account type"); ?> </label></th> <td><select name="type" id="type" class="inl"> <?php eoption($quota->listtype(), 'default', true); ?> </select> </td> </tr> <tr> <th> <?php __("Wich database server for this user ?"); echo "<br/>"; echo "<i>" . _("Warning: you can't change it after the creation of the user.") . "</i>"; ?> </th> <td><?php echo "<select name='db_server_id' id='db_server_id' >"; foreach ($mysql->list_db_servers() as $ldb) {
__("Email address"); ?> </label></th> <td><input type="text" class="int" name="nmail" id="nmail" value="<?php ehe($r["mail"]); ?> " size="30" maxlength="128" /></td> </tr> <tr> <th><label for="type"><?php __("Account type"); ?> </label></th> <td><select name="type" id="type" class="inl"> <?php eoption($quota->listtype(), $r['type'], true); ?> </select> <input type="checkbox" name="reset_quotas" id="reset_quotas" class="inc" /><label for="reset_quotas"><?php __("Reset quotas to default?"); ?> </label></td> </tr> <tr> <th><label for="duration"><?php __("Period"); ?> </label></th> <td><?php echo duration_list('duration', $r['duration']); ?> </td>
" /></p> <p>Subject includes: <input type="text" name="title" id="title" size="20" class="text" value="<?php ehe($view["title"]); ?> " /> (Example: [Tactical], Analysis, etc)</p> <p>Subject excludes: <input type="text" name="notitle" id="notitle" size="20" class="text" value="<?php ehe($view["notitle"]); ?> " /> (Example: [OS] excludes open source articles) </p> <p>Limit by Date: <input type="text" name="date" id="date" size="10" maxlength="10" class="text" value="<?php echo $view["date"]; ?> "/> Show <select name="count" id="count"><?php eoption(array("10" => "10", "20" => "20", "50" => "50", "100" => "100", "200" => "200", "500" => "500", "1000" => "1000"), $view["count"]); ?> </select> results per page </p> <p><input type="submit" value="Search" class="button" /></p> </fieldset> <fieldset><legend>Search a file by name</legend> File name: <input type="text" name="file" id="file" size="30" maxlength="60" class="text" value="<?php ehe($view["file"]); ?> " /> <input type="submit" value="Search by attach filename" class="button" /></fieldset> <fieldset><legend>Directly go to a document by ID</legend> Document-ID: <input type="text" name="docid" id="docid" size="9" maxlength="9" class="text" value="<?php