Menu

[2eb2a2]: / export_project.php  Maximize  Restore  History

Download this file

52 lines (48 with data), 1.7 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php session_start(); ?>
<html>
<head>
<title>deltasql - Export Project Form</title>
<link rel="stylesheet" type="text/css" href="deltasql.css">
<link rel="shortcut icon" href="pictures/favicon.ico" />
</head>
<body>
<?php
include("head.inc.php");
if (!file_exists($configurationfile)) die("<h2><a href=\"install.php\">$installmessage</a></h2>");
include("conf/config.inc.php");
include("utils/utils.inc.php");
include("utils/constants.inc.php");
include("utils/components.inc.php");
if(isset($_SESSION['rights'])) {
$rights = $_SESSION["rights"];
} else {
$rights=0;
}
if ($rights<2) die('<b>Not enough rights to export a project</b>');
?>
<h1>Export Project Form</h1>
<p>
This form exports all scripts belonging to a project in XML or HTML format for reporting purposes, or to integrate information stored by deltasql into other tools.
</p>
<form action="export_project_execution.php" method="post">
<?php
echo "<table>";
echo "<tr><td><b>Project Name:</b></td><td>";
mysql_connect($dbserver, $username, $password);
@mysql_select_db($database) or die("Unable to select database");
printProjectComboBox('');
echo "</td></tr>";
mysql_close();
echo "<tr><td><b>Output Format:</b> </td>";
echo "<td>";
echo "<input type=\"radio\" name=\"formatgroup\" value=\"xml\" checked> XML";
echo "<input type=\"radio\" name=\"formatgroup\" value=\"html\"> HTML";
echo "</td></tr>";
?>
</table>
<input type="Submit" value="Export Project">
</form>
<p><b>Note:</b> If you do not select a project, the whole content of deltasql will be exported!!</p>
<?php include("bottom.inc.php"); ?>
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.