• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[PHP]Modern AAC

Kavvson

Gdy boli cie glowa wez
Joined
Jun 25, 2008
Messages
1,177
Reaction score
72
Location
Poland
p3uq1.jpg


As you see... How to write a good path? since its always going wrong.. Maybe because its in Js part?:S
 
2j60mtz.jpg


Maybe..


but pax..

it wants it then from Localhost/autosugg~~.php

not from injections->character_search

Put the JS function as an injection, which will alter the search input. The suggestion should be in the same folder as injection, and you know the path for it I guess.
 
Check the files

Autocomplete.rar

Uhm

Character_search.php

PHP:
<?php
echo form_open("character/view");
$ots = POT::getInstance();
$ots->connect(POT::DB_MYSQL, connection());
$connection = POT::getInstance()->getDBHandle();
?>	
<?php 
	$ide = new IDE;
	try {
		$ide->loadInjections("character_search");
	}
		catch(Exception $e) {
			error($e->getMessage());
		}
	

?>

Paxi :(( check it since its a lame script :o
 
I won't be fixing your code, you have to do it yourself.

btw, use the fucking drivers provided by the AAC itself, again you are creating another db instance.
 
Oki i have it..

<form id="form" action="#">
<div class="ui-widget">
<label>Character name</label>

<input type="text" size="25" value="" id="country" onkeyup="suggest(this.value);" onblur="fill();" class="" />
<div class="ui-autocomplete ui-menu ui-widget ui-widget-content ui-corner-all" role="listbox" aria-activedescendant="ui-active-menuitem" style="background: BLACK; z-index: 1; top: 299px; left: 617px; display: none; width: 109px" id="suggestions" style="display: none;">
<div class="suggestionList" id="suggestionsList"> &nbsp; </div>
</div>
</div>
<input type='submit' value='Search'>
</form>

Hmmm how to make the Search button working for it
 
Back
Top