| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/ees_request/externalpages/ams/ |
Upload File : |
<?php
include('config.php');
define( '_JEXEC', 1 );
define('JPATH_BASE', dirname(__FILE__) );
define( 'DS', DIRECTORY_SEPARATOR );
require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
require_once ( JPATH_BASE .DS.'libraries'.DS.'joomla'.DS.'factory.php' );
$mainframe =& JFactory::getApplication('site');
$user =& JFactory::getUser();
$db_connection=mysql_connect($host, $username, $password, $db_name);
if (!$db_connection) {
die("<br><b>Database Error:</b> Could not connected. Try again later.<br>");
exit;
}
@mysql_select_db($db_name, $db_connection) or die("Unable to select database.");
mysql_query("SET NAMES 'utf8'", $db_connection);
if (!$user->guest) {
?>
<br>
<form method="POST" action="?option=com_content&view=article&id=33">
<table>
<tr>
<td>Τίτλος</td><td><input type="text" name="title" size="40" /><b> *</b></td>
</tr>
<tr>
<td>Συγγραφέας</td><td><input type="text" name="author" size="40"><b> *</b></td>
</tr>
<tr>
<td>Περιοδικό/Συνέδριο</td><td><input type="text" name="magazineCouncil" size="40"><b> *</b></td>
</tr>
<tr>
<td>Τόμος</td><td><input type="text" name="tome" size="40"></td>
</tr>
<tr>
<td>Σελίδα</td><td><input type="text" name="page" size="40"></td>
</tr>
<tr>
<td>Έτος</td><td><input type="text" name="year" size="4"></td>
</tr>
<tr>
<td>Τύπος Δημοσίευσης</td>
<td>
<select name="type" id="type">
<option selected="selected" id="preselected" </option>
<option id="Διεθνές Περιοδικό">Διεθνές Περιοδικό</option>
<option id="Ελληνικό Περιοδικό">Ελληνικό Περιοδικό</option>
<option id="Συνέδριο">Συνέδριο</option>
<option id="Άλλο">Άλλο</option>
</select>
<b> *</b></td>
</tr>
<tr>
<td>Αριθμός Παραστατικού</td><td><input type="text" name="docNumber" size="40"></td>
</tr>
<tr>
<td colspan="2" align="right"><input type="reset" value="Απαλοιφή"> <input type="submit" value="Καταχώρηση"></td>
</tr>
</table>
</form>
<?php
}
else {
echo "<br><font color='red'>Απογορεύεται η πρόσβαση. Δεν είστε συνδεδεμένοι!</fpnt>";
}
?>