Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

SNIPPIT:: A Search Panel

Asked Modified Viewed 3,676 times
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
asked
Fusioneer

Here is a Search panel for your site it's messy and I don't thing its XHTML valid though but it does the job.

Go admin system panels paste this code in a new panel and save it.

Enjoy

openside("Search");
      // Search
         include LOCALE.LOCALESET."search.php";
         echo"<div style='border-radius : 5px; -moz-border-radius : 5px; -webkit-border-radius : 5px;' class='tbl1'>Looking for something? \n";
           echo "<form action='".BASEDIR."search.php' method='get'>\n";
          echo"<input name='stext'  class='textbox' maxlength='50' type='text' value='".$locale['402']."...' onfocus=\"if(this.value == '".$locale['402']."...') { this.value = ''; }\" onblur=\"if(this.value == '') { this.value='".$locale['402']."...'; }\" />";
            echo "</form></div>\n";
   
closeside();
0 replies

4 posts

P
PHPar
P
PHPar 10
  • Member, joined since
  • Contributed 118 posts on the community forums.
  • Started 7 threads in the forums
answered
Member

nice work thanks craig

I will use it in my new theme
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
answered
Fusioneer

Great is it xhtml valid though?
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
answered
Veteran Member

Aaye... This looks nice... By the way, Try to use it as BANNER 2 without openside closeside... Its looks Good there :D

Quote

Fangree_Craig wrote:

Great is it xhtml valid though?


Yeah... ;)
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
answered
Fusioneer

Really and without even trying. How funny. :P
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
  • Started this discussions
P
P
PHPar 10
  • Member, joined since
  • Contributed 118 posts on the community forums.
  • Started 7 threads in the forums
A
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet