| Server IP : 192.169.170.185 / Your IP : 216.73.216.97 Web Server : Apache System : Linux p3plmcpnl495852.prod.phx3.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64 User : akhilnew ( 1712764) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/akhilnew/www/zoologicaljournal.com/ |
Upload File : |
<?php
require_once('header.php');
echo $page_content;
$countries = '';
$stmt = $mysqli->prepare("SELECT nicename, phonecode FROM country WHERE phonecode != '0' ORDER BY nicename");
$stmt->execute();
$stmt->store_result();
$stmt->bind_result($nicename, $phonecode);
while($stmt->fetch()):
$countries .= '<option value="' . $nicename . '" data-phonecode="+' . $phonecode . '">' . $nicename . '</option>';
endwhile;
$stmt->close();
echo <<<EOJ
<form action="{$baseurl}{$filename}" method="post" name="submissionform" class="grey lighten-3 form ajax" enctype="multipart/form-data">
<input type="hidden" name="{$token_id}" value="{$token_value}" readonly />
<input type="hidden" name="focus" value="{$en->encrypt('[ARTICLE_SUBMISSION]')}" readonly />
<input type="hidden" name="zipcode" value="" readonly />
<div class="progress grey lighten-2"><div class="indeterminate blue accent-4"></div></div>
<div class="row">
<div class="col s12 m6 l6">
<label for="name">Name<span class="red-text right">*</span></label>
<input type="text" name="name" id="name" />
</div>
<div class="col s12 m6 l6">
<label for="email">Email<span class="red-text right">*</span></label>
<input type="text" name="email" id="email" />
</div>
</div>
<div class="row">
<div class="col s12 m6 l6">
<label for="country">Country<span class="red-text right">*</span></label>
<select name="country" class="browser-default" onchange="phonecode.value = this.value ? event.target.options[event.target.selectedIndex].dataset.phonecode : ''; pnvm.hidden = this.value !== 'India';">
<option value="" selected="selected">Select country</option>
{$countries}
</select>
</div>
<div class="col s12 m6 l6">
<label for="phone">WhatsApp Number <small id="pnvm" style="color:#f00;" hidden>(10 Digits Phone Number)</small><span class="red-text right">*</span></label>
<div style="display:flex;clear:both;">
<input type="text" name="phonecode" id="phonecode" style="width:60px;padding:0;text-align:center;background:#eee;" readonly />
<input type="text" name="phone" id="phone" onblur="if (this.value) { this.value = this.value.replace(/^0+/, ''); }" />
</div>
</div>
</div>
<div class="row">
<div class="col s12 m12 l12">
<label for="address">Institute Address<span class="red-text right">*</span></label>
<textarea rows="5" cols="5" name="address" id="address" class="materialize-textarea"></textarea>
</div>
</div>
<div class="row">
<div class="col s12 m12 l12">
<label for="title">Title of the Submission<span class="red-text right">*</span></label>
<input type="text" name="title" id="title" />
</div>
</div>
<div class="row">
<div class="col s12 m12 l12">
<label for="file">Choose File<span class="red-text right">*</span></label>
<div class="file-field left" style="width:100%">
<div class="btn grey lighten-1 z-depth-0"><span>article file</span><input type="file" name="file[]" id="file" multiple /></div>
<div class="file-path-wrapper">
<input type="text" name="file" placeholder="Choose one or more files" class="file-path" />
</div>
</div>
</div>
</div>
<div class="row">
<div class="col s12 m12 l12">
<button type="submit" name="submit" class="waves-effect btn-flat blue accent-4 white-text right" disabled>Submit</button>
</div>
</div>
</form>
<div class="smsg center-align"></div>
EOJ;
require_once('footer.php');
?>