i need search bar and results page code

Let us know about your site
Post Reply
md arshad ullah
Posts: 25
Joined: Wed Feb 14, 2024 8:42 am

i need search bar and results page code

Post by md arshad ullah »

hi friends ...... help me for,,,,,,,,,create a search bar and results
vikkas
Posts: 84
Joined: Sun May 07, 2023 9:28 am

Re: i need search bar and results page code

Post by vikkas »

Search bar:

Code: Select all

<form method="get" action="/find_friends.html"><input name="q" type="text" style="padding: 4px"/> <input value="Search" type="submit" style="background: #20B2AA;padding: 4px"/></form>
result: user lister

Code: Select all

<div class="bord"><div class="list1"><table width="100%"><tbody><tr><td width="20%" align="left" valign="top" margin="auto"><br/><img src="{{VALUE(%avatar%)@IFEQ()@THEN(https://cdn3.iconfinder.com/data/icons/leto-user-group/64/__user_person_profile-128.png)@ELSE(%avatar%)}}" width="70" height="80"/></td><td align="left"><a href="/profile/%id%/?act=info" class="{{SLUG(%role%)}}"><b>%username%</b></a><br/><b>Age %var(age)%</b><br/><b>Point (%point%)</b></td><td align="right"><div class="li"><li></li></div><span class="sm"><a href="/profile/%id%/?act=info">See More</a></span><div class="li"><li></li></div><span class="msgbtn" style="border-radius:5px;"><a href="/inbox/%id%/?uname=%username%"><font color="#ffffff">Message</font></a></span></td></tr></tbody></table><br/></div></div>
config:

Code: Select all

<limit>10</limit><page>{{GET(page)}}</page><type>active</type><url>?page=</url><search>{{REQUEST(q)}}</search><order>new</order>
md arshad ullah
Posts: 25
Joined: Wed Feb 14, 2024 8:42 am

Re: i need search bar and results page code

Post by md arshad ullah »

thank bro
Post Reply