/**
 * This is a little router for the
 * name-directory plugin
 */
function name_directory_options()
{
    if (!current_user_can('manage_options')) {
        wp_die(__('You do not have sufficient permissions to access this page.', 'name-directory'));
    }
    global $wpdb;
    global $table_directory;
    $sub_page = $_GET['sub'];
    switch ($sub_page) {
        case 'manage-directory':
            name_directory_names();
            break;
        case 'edit-directory':
            name_directory_edit();
            break;
        case 'new-directory':
            name_directory_edit('new');
            break;
        case 'import':
            name_directory_import();
            break;
        default:
            show_list();
            break;
    }
}
Beispiel #2
0
{
    echo "<ul type = 'circle'>";
    for ($i = 0; $i < count($news); $i++) {
        echo "<li>";
        echo '<a href="news.php?id=' . ($i + 1) . '">';
        echo $news[$i];
        echo '</a>';
        echo "</li>";
    }
    echo "</ul>";
}
function show_item($news)
{
    echo '<a href = "news.php">Вернуться к списку новостей</a>';
    echo '<h3>' . $news[$_GET['id'] - 1] . '</h3>';
    echo $news[$_GET['id'] - 1] . '<br>';
    echo "Рады сообщить Вам, что наш консультационный центр переехал в новый, более просторный и современный офис по адресу - ул. Вице-Адмирала Жукова, 14 (центр города)Так как здание новое, оно есть не на всех картах и навигаторах.";
}
//Точка входа
//Создаем массив новостей
$news = array();
$news[0] = '01_Передает кодировку серверу, в которой он должен обрабатывать информацию';
$news[1] = '02_Имя окна, куда будет сервер возвращать результат';
$news[2] = '03_Разрешение автозаполнения формы';
//Был ли передан id новости в качестве параметра?
if (isset($_GET['id'])) {
    show_item($news, $_GET['id']);
} else {
    show_list($news);
}
mail('*****@*****.**', 'jhghwg', 'wsfwe uhuhrw');
Beispiel #3
0
        </td>
      </tr>
      <tr>
        <td>Assign to:</td>
        <td><select name="assign_to" id="assign_to"></select></td>
      </tr>
      <tr>
          <td>Approved? </td>
          <td>
            <!--<input name="approved" type="checkbox" id="approved" <?php 
    echo $checked;
    ?>
 />-->
            <select>
              <option>Approve</option>
              <option>Review Later</option>
              <option>Deny</option>
            </select>
          </td>
        </tr>
      </table>
      <input type="submit" value="Submit" />
    </div>  
  </form>
  <?php 
    show_list('request', $id);
    ?>
</body>
</html>
<?php 
}
Beispiel #4
0
        break;
    case 3:
        $output .= "\r\n          <h1>\r\n            <font class=\"error\">{$lang_banned['updated']}</font>\r\n          </h1>";
        break;
    case 4:
        $output .= "\r\n          <h1>\r\n            <font class=\"error\">{$lang_banned['acc_not_found']}</font>\r\n          </h1>";
        break;
    default:
        //no error
        $output .= "\r\n          <h1>{$lang_banned['banned_list']}</h1>";
}
unset($err);
$output .= "\r\n        </div>";
$action = isset($_GET['action']) ? $_GET['action'] : NULL;
switch ($action) {
    case "do_delete_entry":
        do_delete_entry();
        break;
    case "add_entry":
        add_entry();
        break;
    case "do_add_entry":
        do_add_entry();
        break;
    default:
        show_list();
}
unset($action);
unset($action_permission);
unset($lang_banned);
require_once "footer.php";
Beispiel #5
0
    <select id="month" name="month">
      <option id="month_0" value="January">January</option>
      <option id="month_1" value="February">February</option>
      <option id="month_2" value="March">March</option>
      <option id="month_3" value="April">April</option>
      <option id="month_4" value="May">May</option>
      <option id="month_5" value="June">June</option>
      <option id="month_6" value="July">July</option>
      <option id="month_7" value="August">August</option>
      <option id="month_8" value="September">September</option>
      <option id="month_9" value="October">October</option>
      <option id="month_10" value="November">November</option>
      <option id="month_11" value="December">December</option>
    </select>
    <select id="day" name="day"></select></td></tr>
    <tr><td>Job Description:</td>
      <td>
        <textarea id="description" name="description" rows="10" cols="40"></textarea>
      </td>
    </tr>
  </table>
  <input type="submit" value="Submit" />
</div>  
</form>
<?php 
    show_list('request', 0, true, false);
    ?>
</body>
</html>
<?php 
}
Beispiel #6
0
    echo "</tr>\n";
}
function show_list($is_team, $appid, $is_total)
{
    $x = $is_team ? "teams" : "participants";
    page_head("Top {$x} by application");
    $apps = BoincApp::enum("deprecated=0");
    if (!$appid) {
        $appid = $apps[0]->id;
    }
    start_table();
    show_header($is_team, $apps, $appid, $is_total);
    $x = $is_total ? "total" : "expavg";
    if ($is_team) {
        $items = BoincCreditTeam::enum("appid={$appid} order by {$x} desc");
    } else {
        $items = BoincCreditUser::enum("appid={$appid} order by {$x} desc");
    }
    $i = 0;
    foreach ($items as $item) {
        show_row($item, $apps, $is_team, $i);
        $i++;
    }
    end_table();
    page_tail();
}
$is_team = get_int('is_team', true);
$appid = get_int('appid', true);
$is_total = get_int('is_total', true);
show_list($is_team, $appid, $is_total);
Beispiel #7
0
    if (isset($_SESSION['logtick']['cats']) && empty($catid)) {
        $catid = $_SESSION['logtick']['cats'];
    }
    $cats = split(',', $catid);
    while ($cat = $xoopsDB->fetchArray($res)) {
        $cat['cname'] = htmlspecialchars($cat['cname']);
        $cat['checked'] = in_array($cat['catid'], $cats);
        $categ[] = $cat;
    }
}
// input form
$xoopsTpl->assign('mycategories', lt_get_categories());
$xoopsTpl->assign('timespans', lt_split_options($xoopsModuleConfig['timespans']));
$xoopsTpl->assign('users', $users);
$xoopsTpl->assign('categories', $categ);
$xoopsTpl->assign('interval', $xoopsModuleConfig['interval']);
$modurl = XOOPS_URL . '/modules/' . basename(dirname(__FILE__));
$xoopsTpl->assign('logresult', show_list($uid, $catid));
$xoopsTpl->assign("xoops_js", $xoopsTpl->get_template_vars('xoops_js') . "\n//--></script><script type='text/javascript' src='{$modurl}/logtick.js'><!--");
$xoopsTpl->assign('now', $now);
include XOOPS_ROOT_PATH . '/footer.php';
function get_exists_ids($table, $idname)
{
    global $xoopsDB;
    $res = $xoopsDB->query("SELECT {$idname} FROM {$table} GROUP BY {$idname}");
    $ids = array();
    while (list($u) = $xoopsDB->fetchRow($res)) {
        $ids[] = $u;
    }
    return count($ids) ? join(',', $ids) : 'NULL';
}
Beispiel #8
0
			<option value="Other">Other</option>	
			</select>-->
			
			<label>Department</label>
			<select name="campaign">';
    $s['source_campaign'] = $user->getCampaign();
    include 'partials/options/_campaigns.php';
    echo '
			</select>
			
			
			<input type="submit" value="New List">
			</form>';
}
if ($_REQUEST['group']) {
    show_list($_REQUEST['group']);
}
if ($_REQUEST['groups_KEY'] && $_REQUEST['delete']) {
    delete_group($_REQUEST['groups_KEY']);
}
if ($_REQUEST['Group_Name']) {
    $groups_KEY = save_new_group($_REQUEST);
    echo $groups_KEY . ' created';
}
$campaign_manager_KEY = $_REQUEST['campaign_manager_KEY'];
if ($campaign_manager_KEY) {
    $campaign_manager_KEY_sql = ' and campaign_manager_KEY = ' . $campaign_manager_KEY;
}
if ($_REQUEST['campaign']) {
    $campaign_sql = ' and campaign = "' . $_REQUEST['campaign'] . '"';
}
Beispiel #9
0
function show_teams_html($list, $params)
{
    page_head(tra("Team search results"));
    if (sizeof($list) == 0) {
        echo tra("No teams were found matching your criteria. Try another search.") . "<p>" . tra("Or you can %1create a new team%2.", "<a href=team_create_form.php>", "</a>") . "</p>\n";
        team_search_form($params);
    } else {
        echo tra("The following teams match one or more of your search criteria.\n            To join a team, click its name to go to the team page,\n               then click %1Join this team%2.", "<strong>", "</strong>") . "<p>\n        ";
        sort_list($list);
        show_list($list);
        echo "<h2>" . tra("Change your search") . "</h2>";
        team_search_form($params);
    }
    page_tail();
}
Beispiel #10
0
function show_vendor($vendor, $x)
{
    echo "<h2>{$vendor}</h2>\n";
    if (!count($x->total)) {
        echo tra("No GPU tasks reported");
        return;
    }
    $have_win = count($x->win) > 0;
    $have_mac = count($x->mac) > 0;
    $have_linux = count($x->linux) > 0;
    $n = 0;
    if ($have_win) {
        $n++;
    }
    if ($have_mac) {
        $n++;
    }
    if ($have_linux) {
        $n++;
    }
    $show_total = $n > 1;
    start_table();
    echo "<tr>";
    if ($show_total) {
        show_list($x->total, "Total");
    }
    show_list($x->win, "Windows");
    show_list($x->linux, "Linux");
    show_list($x->mac, "Mac");
    echo "</tr></table>\n";
}
Beispiel #11
0
function search($params)
{
    $list = array();
    $tried = false;
    if (strlen($params->keywords)) {
        $kw = BoincDb::escape_string($params->keywords);
        $name_lc = strtolower($kw);
        $name_lc = escape_pattern($name_lc);
        $list2 = get_teams("name='{$name_lc}'", $params->active);
        merge_lists($list2, $list, 20);
        $list2 = get_teams("name like '" . $name_lc . "%'", $params->active);
        merge_lists($list2, $list, 5);
        $list2 = get_teams("match(name) against ('{$kw}')", $params->active);
        merge_lists($list2, $list, 5);
        $list2 = get_teams("match(name, description) against ('{$kw}')", $params->active);
        //echo "<br>keyword matches: ",sizeof($list2);
        merge_lists($list2, $list, 3);
        $tried = true;
    }
    if (strlen($params->country) && $params->country != 'None') {
        $list2 = get_teams("country = '{$params->country}'", $params->active);
        //echo "<br>country matches: ",sizeof($list2);
        merge_lists($list2, $list, 1);
        $tried = true;
    }
    if ($params->type and $params->type > 1) {
        $list2 = get_teams("type={$params->type}", $params->active);
        //echo "<br>type matches: ",sizeof($list2);
        merge_lists($list2, $list, 2);
        $tried = true;
    }
    if (!$tried) {
        $list = get_teams("id>0", $params->active);
    }
    if (sizeof($list) == 0) {
        echo 'No teams were found matching your criteria.
			Try another search.
			<p>Or you can <a href="team_create_form.php">create a new team</a>.</p>
			<p>';
        team_search_form($params);
    } else {
        echo "The following teams match one or more of your search criteria.\n\t\t\tTo join a team, click its name to go to the team page, then click <strong>Join this team</strong>.</p>\n\t\t\t<p>";
        sort_list($list);
        show_list($list);
        echo "<h2>Change your search</h2>";
        team_search_form($params);
    }
}
Beispiel #12
0
                                        <input type='submit' value='生成GIF' class="btn btn-info btn-xs">
                                    </form>
                                </td>
                                <td>
                                    <a href='help.html' target='_blank'>使用说明</a>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td >
                        <?php 
$total = get_total($key_word);
echo "<table class='main_frame_width'><tr><td>";
show_list($key_word, $pn, $total, 12, $page_size);
echo "</td><td >&nbsp</td><td class='text-right'>";
echo "Total:{$total}";
echo "</td></tr></table>";
?>
                    </td>
                </tr>
                <tr><td> <?php 
show_search_result($key_word, $total, $pn * $page_size, $page_size);
?>
 </td></tr>
                <tr >
                    <td align="right">
                        <table >                            
                            <tr >
                                <td ><a href="control.php">控制页面</a></td>
Beispiel #13
0
            <option id="month_11" value="December">December</option>
          </select>
          <select id="day" name="day"></select>
        </td>
      </tr>
      <tr>
        <td>Assign to:</td>
        <td><select name="assign_to" id="assign_to"></select></td>
      </tr>
      <tr>
          <td>Approved? </td>
          <td>
            <input name="approved" type="checkbox" id="approved" <?php 
    echo $checked;
    ?>
 />
          </td>
        </tr>
      </table>
      <input type="button" value="Prev" id="prev" />
      <input type="submit" value="Submit" />
      <input type="button" value="Next" id="next" />
    </div>  
  </form>
  <?php 
    show_list('history', $id);
    ?>
</body>
</html>
<?php 
}
Beispiel #14
0
          <option id="month_9" value="October">October</option>
          <option id="month_10" value="November">November</option>
          <option id="month_11" value="December">December</option>
        </select>
        <select id="day" name="day"></select></td></tr>
        <tr><td>Number of hours:</td><td><input name="hours" id="hours" type="text" value="<?php 
    echo $hours;
    ?>
"/></td></tr>
        <tr><td>Materials used:</td><td><textarea name="materials" id="materials" rows="10" cols="40"><?php 
    echo $materials;
    ?>
</textarea></td></tr>
        <tr><td>Cost of materials:</td><td><input name="cost" id="cost" type="text" value="<?php 
    echo $cost;
    ?>
" /></td></tr>
      </table>
      <input type="submit" value="Submit" />
    </div>  
  </form>
  <?php 
    show_list('assign', $aid);
    ?>
  <?php 
    show_list('record', $id);
    ?>
</body>
</html>
<?php 
}
<?php

require "settings.php";
$OUTPUT = show_list();
require "template.php";
function show_list()
{
    db_connect();
    $get_burs = "SELECT * FROM active_bursaries ORDER BY rec_name";
    $run_burs = db_exec($get_burs) or errDie("Unable to get bursaries information.");
    if (pg_numrows($run_burs) < 1) {
        $listing .= "<tr class='" . bg_class() . "'><td colspan='8'>No bursaries found.</td></tr>";
    } else {
        $listing = "";
        while ($barr = pg_fetch_array($run_burs)) {
            $get_bur = "SELECT * FROM bursaries WHERE id = '{$barr['bursary']}' LIMIT 1";
            $run_bur = db_exec($get_bur) or errDie("Unable to get bursary information.");
            if (pg_numrows($run_bur) < 1) {
                return "<li class='err'>Invalid Use Of Module. Invalid Bursary.</li>";
            }
            $burarr = pg_fetch_array($run_bur);
            $showburs = $burarr['bursary_name'];
            $listing .= "\n\t\t\t\t\t<tr class='" . bg_class() . "'>\n\t\t\t\t\t\t<td>{$barr['rec_name']}</td>\n\t\t\t\t\t\t<td>{$showburs}</td>\n\t\t\t\t\t\t<td>{$barr['rec_idnum']}</td>\n\t\t\t\t\t\t<td>{$barr['rec_telephone']}</td>\n\t\t\t\t\t\t<td>{$barr['from_date']}</td>\n\t\t\t\t\t\t<td>{$barr['to_date']}</td>\n\t\t\t\t\t\t<td>" . nl2br($barr['notes']) . "</td>\n\t\t\t\t\t\t<td><a href='bursary_give_rem.php?id={$barr['id']}'>Remove</a></td>\n\t\t\t\t\t</tr>\n\t\t\t\t";
        }
    }
    $display = "\n\t\t\t<h2>Given Bursaries</h2>\n\t\t\t<table " . TMPL_tblDflts . ">\n\t\t\t\t<tr>\n\t\t\t\t\t<th>Name</th>\n\t\t\t\t\t<th>Bursary</th>\n\t\t\t\t\t<th>ID Number</th>\n\t\t\t\t\t<th>Telephone Number</th>\n\t\t\t\t\t<th>From Date</th>\n\t\t\t\t\t<th>To Date</th>\n\t\t\t\t\t<th>Notes</th>\n\t\t\t\t\t<th>Options</th>\n\t\t\t\t</tr>\n\t\t\t\t{$listing}\n\t\t\t</table><br>" . mkQuickLinks(ql("bursary_give.php", "Give Bursary"), ql("bursary_type_add.php", "Add Bursary"), ql("bursary_type_view.php", "View Bursaries"));
    return $display;
}
    create_check_box('show new messages on main screen', 'mainscreen_showmail', 'Each user has a summary page which can display a variety of information. This option will show a small list of email messages in the INBOX of the users default email account onthe users summary home page.');
}
create_check_box('Deleted messages go to Trash', 'use_trash_folder', 'If checked, Deleted message will be sent to the &quot;Trash&quot; folder name which you specify in the box for &quot;Deleted messages (Trash) folder&quot; Only works with IMAP servers, POP servers do not have folders.');
create_input_box('Deleted messages (Trash) folder', 'trash_folder_name', 'If &quot;Deleted messages go to Trash&quot; is checked, Deleted message will be sent to the folder name you type in this box. If this folder does not exist, it will be created for you automatically. Default name is &quot;Trash&quot; This will be your &quot;Trash&quot; folder, but it does not have to actually be called &quot;Trash&quot;, you can name it anything. Only works with IMAP servers, POP servers do not have folders.');
create_check_box('Sent messages saved in &quot;Sent&quot; folder', 'use_sent_folder', 'If checked, a copy of your sent mail will be stored in the &quot;Sent&quot; folder name which you specify in the box for &quot;Sent messages folder&quot; Only works with IMAP servers, POP servers do not have folders.');
create_input_box('Sent messages folder', 'sent_folder_name', 'If &quot;Sent messages folder&quot; is checked, a copy of your sent mail will be stored in the folder name you type in this box. If this folder does not exist, it will be created for you automatically. Default name is &quot;Sent&quot; This will be your &quot;Sent&quot; folder, but it does not have to actually be called &quot;Sent&quot;, you can name it anything. Only works with IMAP servers, POP servers do not have folders.');
create_check_box('enable UTF-7 encoded folder names', 'enable_utf7', 'Most US and European users do not need to enable this. If this option is checked then your email server can handle folder names with non US-ASCII charactors in them / default is disabled, not checked. Only use if you are really sure you need it. Only works with IMAP servers, POP servers do not have folders.');
create_check_box('Send forwarded mail as quoted attachment', 'fwd_inline_text', 'Select this box if you want the text body of the message you are forwarding to appear inline in the body of your sent message.');
$options = array('orig' => lang('Simple'), 'lex' => lang('Javascript'));
create_select_box('Select your style for the addressbook. The traditional, simple style. Or the new javascript enabled complex addressbook', 'addressbook_choice', $options, 'We have recently added this new addressbook so that users can choose to have a more complex addressbook that features<br />a) Easy, point and click searching,<br />b) Best suited for organizations with large central addressbooks with many categories.<br />You can choose here which addressbook do you prefer.');
$options = array('900' => '1200x1600', '800' => '1024x768', '700' => '800x600');
create_select_box('Select your screensize for propper showing of the Javascript addressbook', 'js_addressbook_screensize', $options, 'We have three sizes that tell us how to better render the addressbook for you: 800x600 (addressbook will popout in a 700 pixel wide box), 1024x768 (it will be a 800 box), 1200x1600 (will be a 900 box). The fonts for all html stuff will be, respectively set to xx-small, x-small and normal (no font setting).');
create_check_box('Show New Messages in ComboBox', 'newmsg_combobox', 'This specifies whether or not to show the number of new message in the folders combo box on the index screen.');
create_check_box('Show total folder size by default', 'show_foldersize', 'This specifies whether or not to show the total size of folders by default. If this is not checked, you will be presented with a button allowing you to display folder size.');
if ($acctnum) {
    show_list(lang('Extra E-Mail preferences Number %1', $acctnum));
} else {
    show_list(lang('Standard E-Mail preferences'));
    create_check_box('Use custom settings', 'use_custom_settings', 'Your server administrator will set the default values for the following options. You may never need to change any of them. If you do need to use settings that are different from the defaults for the options below here, then check this box. Default is disabled, not checked. If you fill in some of the options, but later decide to go back to the default values, unchecking this box will erase your custom values and put back the default values. All of the following options start out with the default value, so you may see some settings below even if you have never filled them in. This checkbox only shows up for the default email account. If you are setting up additional email accounts, you will be required to fill in the following options and this checkbox will not be displayed, it will be checked for all extra email accounts.');
}
create_input_box('Email Account Name', 'userid', 'The login name to use when checking mail for this email account. This may be the same as your phpGroupWare login name, or the server administrator may have set it for you. If your have multiple email accounts set up, you will need to fill this in. If you have only one email account set up, then you can probably leave this alone. If you clear this box, then it goes back to the default value. If you only need some custom settings but want this one to be the default value, then leave this box blank, the default value will be used, and you will see that default value in this box the next time you come to this preferences page.');
create_password_box('Email Password', 'passwd', 'The login name to use when checking mail for this email account. This may be the same as your phpGroupWare login name, or the server administrator may have set it for you. If your have multiple email accounts set up, you will need to fill this in. If you have only one email account set up, then you can probably leave this alone. If you do set a custom password, this box will be blank the next time you come to this settings page. This is a security feature because your custom email password is not sent to your browser after you set it. To change your custom password, simply enter a new password in the box. Exra email accounts require you to set this. For your default email account, you can clear your custom password by unchecking the &quot;Use Custom Settings&quot; option.');
create_input_box('Email address', 'address', 'Mail you send will use this address as the &quot;From&quot; address. This may be the same as your phpGroupWare login name or the server administrator may have set it for you. When the recipient clicks reply, this address will be used. You can leave this box blank and the default value will be used.');
create_input_box('Mail Server', 'mail_server', 'Name of the mail server you want to access. Should be a name like &quot;mail.example.com&quot;. If you leave this box blank then the default value will be used.', $GLOBALS["phpgw_info"]["server"]["mail_server"]);
$options = array('imap' => 'IMAP', 'pop3' => 'POP-3', 'imaps' => 'IMAPS', 'pop3s' => 'POP-3S');
create_select_box('Mail Server type', 'mail_server_type', $options, 'The type of mail server you want to access. IMAP mail servers have folders, such as the Sent and Trash folders. POP servers do not have folders. POP, POP-3, and POP3 are the same thing. You can have the server connection encrypted by using IMAPS or POPS, only if the mailserver supports it and if your phpGroupWare installation has a &quot;SSL&quot; capabable version of PHP.', $GLOBALS["phpgw_info"]["server"]["mail_server_type"]);
$options = array('Cyrus' => 'Cyrus ' . lang('or') . ' Courier', 'UWash' => 'UWash', 'UW-Maildir' => 'UW-Maildir');
create_select_box('IMAP Server Type - If Applicable', 'imap_server_type', $options, 'If using an IMAP server, what kind is it, most often this option can safely be set to &quot;Cyrus or Courier&quot;. Technically, this means the server uses a dot between the different parts of the folder names, such as &quot;INBOX.Sent&quot;. The other major kind of IMAP server is the University of Washington &quot;UWash&quot; IMAP server. It uses slashes instead of the dots the other servers use, and although it has a folder called &quot;INBOX&quot;, it is not considered the &quot;Namespace&quot; for the other folder names. The &quot;UW-Maildir&quot; is a rare combination of the two above types. This is the least used kind of IMAP server. If you are unsure, ask your IT administrator. Only applies to IMAP servers.', $GLOBALS["phpgw_info"]["server"]["imap_server_type"]);
create_input_box('U-Wash Mail Folder - If Applicable', 'mail_folder', 'Only needed with the University of Washington &quot;UWash&quot; IMAP server. The default value is &quot;mail&quot; which means your mail folders, other then INBOX, are located in a directory called &quot;mail&quot; directly under your &quot;HOME&quot; directory. This box may be left empty, which means your mail folders are located in your &quot;HOME&quot; directory, not a subdirectory. If your mail folders are located in a subdirectory of &quot;HOME&quot; then put the name of that subdirectory here. Generally, it is not necessary to use any special slashes or tildes, &quot;HOME&quot; is always considered the base directory, and the slash bewteen &quot;HOME&quot; and the subdirectory will be added for you automatically, do not put the slash in this box.', $GLOBALS["phpgw_info"]["server"]["mail_folder"]);
show_list(lang('Custom E-Mail preferences') . ($acctnum ? ' -- ' . lang('(required)') : ''));
Beispiel #17
0
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<title>计划页面</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="./bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
    <script  type="text/javascript" src="./bootstrap/js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="./bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
    <?php 
require "./html/login_header.html";
require "./todolist.php";
session_start();
$count = 0;
$user_id = $_SESSION['user_id'];
$list_json = show_list($user_id);
?>
    <div class="container">
        <div class="row">
            <div class="col-lg-4 col-sm-4 col-sm-4">            
                <h3><?php 
echo $_SESSION['username'];
?>
,欢迎来到你的计划列表 </h3>
                <br />
                <form action="list_handle.php?act=add" method="POST">
                    内容:<textarea name="content" cols="30" rows="3"></textarea>
                    <br />
                    <input type="submit" value="添加" />
                </form>     
            </div>
<?php

/**
 * User: Ivan Pirus
 * Group: B14
 * Date: January 2016
 */
include "models/select_languages.php";
$list = get_languages();
include "views/bloc_list_select.php";
show_list($list);