Example #1
0
<?php 
require_once "head.php";
?>
<h2><?php 
echo $view["title"];
?>
</h2>

 <?php 
show_messages();
?>

<form method="post" action="/admin/dolist">
<input type="hidden" id="id" name="id" value="<?php 
eher($view["campaign"]["id"]);
?>
" />
<table class="list sortable">
<tr>
  <th>Enabled ?</th>
  <th>Name</th>
  <th>Country</th>
  <th>Group</th>
  <th>Number</th>
  <th>CallCount</th>
  <th>Imported Score</th>
  <th>Weighted Score</th>
</tr>
   <?php 
foreach ($view["list"] as $callee) {
Example #2
0
</label><input type="text" name="lastname" id="lastname" value="<?php 
        eher("lastname");
        ?>
" style="width: 150px"/>
		   <label for="email"><?php 
        __("Email");
        ?>
</label><input type="text" name="email" id="email" value="<?php 
        eher("email");
        ?>
" style="width: 200px"/>
		   <label for="login"><?php 
        __("Login");
        ?>
</label><input type="text" name="login" id="login" value="<?php 
        eher("login");
        ?>
" style="width: 100px"/>
<div>
      <input type="submit" name="go" value="<?php 
        if ($_REQUEST["action"] == "edit") {
            __("Edit this account");
        } else {
            __("Create this account");
        }
        ?>
" />
 <input type="button" name="cancel" value="<?php 
        __("Cancel");
        ?>
" onclick="document.location='/accounts.php'" />
Example #3
0
?>
 <?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 +&lt;countrycode&gt; <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"]);
?>
" />
</p>
<p>
<input type="submit" name="go" value="<?php 
__("Next Step");
?>
 ->" />
</p>
</form>
<script type="text/javascript">
   /*   $("#phone").focus(); */
</script>

</body>
Example #4
0
<?php 
require_once "head.php";
?>
<h2>Confirm User Deletion</h2>

 <?php 
show_messages();
?>

<p>Please confirm that you want to delete user <b><?php 
echo $view["user"]["login"];
?>
</b></p>

<form method="post" action="/user/dodel">
<input type="hidden" id="id" name="id" value="<?php 
eher($view["user"]["id"]);
?>
" />
<input type="submit" name="confirm" value="YES, DELETE this user" />
<input type="button" name="cancel" value="NO, KEEP this user account" onclick="document.location='/user'"/>
</form>

<?php 
require_once "foot.php";
?>

Example #5
0
  <div style="float: right; padding: 10px;">
  <a href="https://fr.wikipedia.org/wiki/Domaine_public_%28propri%C3%A9t%C3%A9_intellectuelle%29"><img src="/assets/img/pd.png"/></a>
</div>

    <h1><?php 
__("Public Domain Book Listing");
?>
</h1>

<form method="get" action="" class="form-inline">
  <label for="q"><?php 
__("Search for");
?>
</label>
  <input type="text" class="form-control" name="q" id="q" value="<?php 
eher("q");
?>
" />

  <label for="collection"><?php 
__("In collection");
?>
</label>
  <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\" ";
Example #6
0
        ?>
</h2>
<form method="post" action="/collections.php">
  <input type="hidden" name="id" value="<?php 
        echo $id;
        ?>
" />
  <input type="hidden" name="action" value="do<?php 
        echo $_REQUEST["action"];
        ?>
" />
		   <label for="name"><?php 
        __("Collection name");
        ?>
</label><input type="text" name="name" id="name" value="<?php 
        eher("name");
        ?>
" style="width: 150px"/>
<div>
      <input type="submit" name="go" value="<?php 
        if ($_REQUEST["action"] == "edit") {
            __("Edit this collection");
        } else {
            __("Create this collection");
        }
        ?>
" />
 <input type="button" name="cancel" value="<?php 
        __("Cancel");
        ?>
" onclick="document.location='/collections.php'" />
Example #7
0
<tr><th><label for="pass">Password</label></th></tr>
<tr><td><input size="32" type="password" id="pass" name="pass" value="<?php 
eher($view["user"]["pass"]);
?>
" /></td></tr>

<tr><th><label for="pass2">Password (again)</label></th></tr>
<tr><td><input size="32" type="password" id="pass2" name="pass2" value="<?php 
eher($view["user"]["pass2"]);
?>
" /></td></tr>

<tr><th><label for="email">Email</label></th></tr>
<tr><td><input size="60" type="text" id="email" name="email" value="<?php 
eher($view["user"]["email"]);
?>
" /></td></tr>

<tr><th><label for="enabled">Enabled ?</label>
  <input type="checkbox" id="enabled" name="enabled"<?php 
checked($view["user"]["enabled"]);
?>
 value="1" />
</th></tr>

<tr><th><label for="admin">Admin ?</label>
  <input type="checkbox" id="admin" name="admin"<?php 
checked($view["user"]["admin"]);
?>
 value="1" />
Example #8
0
<tr><th><label for="description-fr">Description FR</label></th></tr>
<tr><td><textarea class="description" rows="30" cols="80" id="description-fr" name="description-fr"><?php 
eher($view["campaign"]["description-fr"]);
?>
</textarea></td></tr>

<tr><th><label for="datestart">Date Start (YYYY-MM-DD hh:mm:ss)</label></th></tr>
<tr><td><input size="60" type="text" id="datestart" name="datestart" value="<?php 
eher($view["campaign"]["datestart"]);
?>
" /></td></tr>

<tr><th><label for="datestop">Date Stop (YYYY-MM-DD hh:mm:ss)</label></th></tr>
<tr><td><input size="60" type="text" id="datestop" name="datestop" value="<?php 
eher($view["campaign"]["datestop"]);
?>
" /></td></tr>
<script type="text/javascript">
 $(document).ready(function() {
  $(".longname").cleditor({width:"100%", height:"150"});
  $(".description").cleditor({width:"100%", height:"400"});
 });
</script>
</table>

<input type="submit" name="go" value="<?php 
echo $view["actionname"];
?>
" />
<input type="button" name="cancel" value="<?php