예제 #1
0
<body>
<?php 
require '../include/toprightmenu.inc';
echo draw_toprightmenu();
?>
<div id="content">

<div class="head_title">
  <div><img src="../artwork/toprightmenu.gif" id="toprightmenu_icon" /></div>
  <div class="breadcrumb"><a href="../index.php"><?php 
echo $string['home'];
?>
</a>
<?php 
if (isset($_GET['folder']) and $_GET['folder'] != '') {
    echo '<img src="../artwork/breadcrumb_arrow.png" class="breadcrumb_arrow" alt="-" /><a href="../folder/index.php?folder=' . $_GET['folder'] . '">' . folder_utils::get_folder_name($_GET['folder'], $mysqli) . '</a>';
} elseif (isset($_GET['module']) and $_GET['module'] != '') {
    echo '<img src="../artwork/breadcrumb_arrow.png" class="breadcrumb_arrow" alt="-" /><a href="../module/index.php?module=' . $_GET['module'] . '">' . module_utils::get_moduleid_from_id($_GET['module'], $mysqli) . '</a>';
}
echo '<img src="../artwork/breadcrumb_arrow.png" class="breadcrumb_arrow" alt="-" /><a href="../paper/details.php?paperID=' . $paperID . '">' . $paper_title . '</a></div>';
?>
  <div class="page_title"><?php 
echo $string['sctresponses'];
?>
</div>
</div>

<table cellspacing="0" cellpadding="2" border="0" style="width:100%">
<col width="40"><col>
<?php 
//Capture reviewer data
예제 #2
0
파일: index.php 프로젝트: vinod-co/centa
$folder_type = '';
$file_no = 0;
// Folder security checks
$orig_folder_name = folder_utils::get_folder_name($folder, $mysqli);
if ($orig_folder_name == '') {
    $msg = sprintf($string['furtherassistance'], $configObject->get('support_email'), $configObject->get('support_email'));
    $notice->display_notice_and_exit($mysqli, $string['pagenotfound'], $msg, $string['pagenotfound'], '../artwork/page_not_found.png', '#C00000', true, true);
}
if (!folder_utils::has_permission($folder, $userObject, $mysqli)) {
    $msg = sprintf($string['furtherassistance'], $configObject->get('support_email'), $configObject->get('support_email'));
    $notice->display_notice_and_exit($mysqli, $string['pagenotfound'], $msg, $string['pagenotfound'], '../artwork/page_not_found.png', '#C00000', true, true);
}
$parent_list = folder_utils::get_parent_list($orig_folder_name, $userObject, $mysqli);
$module = '';
if (isset($_POST['submit'])) {
    $folder_parent = folder_utils::get_folder_name($folder, $mysqli);
    $new_folder_name = $folder_parent . ';' . $_POST['folder_name'];
    $duplicate_folder = folder_utils::folder_exists($new_folder_name, $userObject, $mysqli);
    if ($duplicate_folder == false) {
        folder_utils::create_folder($new_folder_name, $userObject, $mysqli);
    }
}
$folders_array = explode(';', $orig_folder_name);
$parts = count($folders_array) - 1;
?>
<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta http-equiv="content-type" content="text/html;charset=<?php 
echo $configObject->get('cfg_page_charset');