Jump to content

need help Align elements all on a single line


Recommended Posts

hi,

 

need help

 

whmcs v6

 

Question 1

domainchecker.php

 

example here http://prntscr.com/7rylv3

 

Align elements all on a single line

 

with a background image?

 

**** www <input type = "text" name = "domain" value = ""> "tld" <input type = "submit" id = "Submit" value = "Check" class = "button1 color2">

 

how to do?

 

{if $bulkdomainsearchenabled}
		<ul class="navsub">
			<li class="active"><a href="domainchecker.php">{$LANG.domainsimplesearch}</a></li>
			<li><a href="domainchecker.php?search=bulkregister">{$LANG.domainbulksearch}</a></li>
			<li><a href="domainchecker.php?search=bulktransfer">{$LANG.domainbulktransfersearch}</a></li>
		</ul>		

		<div class="clear"> </div>
{/if}


{if $inccode}

		<div class="notice notice-error">
			<div class="inside">
				<p>{$LANG.captchaverifyincorrect}</p>
			</div>
		</div>
{/if}


<p>{$LANG.domainintrotext}</p>
<form method="post" action="domainchecker.php">

<div class="feildset">

		<div class="col1">

			<div>
				<label>
				<span class="center">www.</span>
				<input type="text" name="domain" value="{$sld}" />
				</label>
			</div>	

			<div>
				<p>

				{foreach key=num item=listtld from=$tldslist}
       <label class="tld"><input type="checkbox" name="tlds[]" value="{$listtld}"{if in_array($listtld,$tlds)} checked{/if}>
         {$listtld}
       {if $num % 5 == 0}
       {/if}</label>{/foreach}</p>
			</div>			

			<div class="clear"> </div>	

			  {if $capatacha}
		      {if $capatacha eq "recaptcha"}

		      <p class="center">{$LANG.captchaverify}</p>

		      <center>{$recapatchahtml}<br /></center>

		      {else}
		      <p class="center"><img src="includes/verifyimage.php" align="middle" /> <input type="text" name="code" class="capcha" /></p>
		      {/if}
		      {/if}	

							  <p class="center">
		    <input type="submit" id="Submit" value="{$LANG.domainlookupbutton}" class="button1 color2">
		  </p>


		</div>

</div>

</form>

{if $lookup}

{if $available}

		<div class="notice notice-success">
			<div class="inside">
				<p>{$LANG.domainavailable1} <strong>{$sld}{$ext}</strong> {$LANG.domainavailable2}</p>
			</div>
		</div>

{elseif $invalid}

		<div class="notice notice-error">
			<div class="inside">
				<p>{$LANG.ordererrordomaininvalid}</p>
			</div>
		</div>


{elseif $error}

		<div class="notice notice-error">
			<div class="inside">
				<p>{$LANG.domainerror}</p>
			</div>
		</div>

{else}

		<div class="notice notice-error">
			<div class="inside">
				<p>{$LANG.domainunavailable1} <strong>{$sld}{$ext}</strong> {$LANG.domainunavailable2}</p>
			</div>
		</div>

{/if}

{if !$invalid}

<div class="clear"> </div>

	<div class="bigheader">
		<h2>{$LANG.morechoices}</h2>
	</div><!-- .bigheader -->

<form method="post" action="{$systemsslurl}cart.php?a=add&domain=register">


<div class="table-responsive table-grey">
 <table>
   <tr>
     <th width="20"></td>
     <th>{$LANG.domainname}</th>
     <th>{$LANG.domainstatus}</th>
     <th>{$LANG.domainmoreinfo}</th>
   </tr>
   {foreach key=num item=result from=$availabilityresults}
       {if $invalidtld && $result.domain == $domain}
           {continue}
       {else}
   <tr>
     <td>{if $result.status eq "available"}
       <input type="checkbox" name="domains[]" value="{$result.domain}" {if $num eq "0" && $available}checked {/if}/>
       <input type="hidden" name="domainsregperiod[{$result.domain}]" value="{$result.period}" />
       {else}X{/if}</td>
     <td>{$result.domain}</td>
     <td class="{if $result.status eq "available"}textgreen{else}textred{/if}">{if $result.status eq "available"}{$LANG.domainavailable}{else}{$LANG.domainunavailable}{/if}</td>
     <td>{if $result.status eq "unavailable"}<a href="http://{$result.domain}" target="_blank">WWW</a> <a href="#" onclick="window.open('whois.php?domain={$result.domain}','whois','width=500,height=400,scrollbars=yes');return false">WHOIS</a>{else}
       <select name="domainsregperiod[{$result.domain}]">
         {foreach key=period item=regoption from=$result.regoptions}
         <option value="{$period}">{$period} {$LANG.orderyears} @ {$regoption.register}</option>
         {/foreach}
       </select>
       {/if}</td>
   </tr>
       {/if}
   {/foreach}

 </table>
 </div>


 <p class="center">
   <input type="submit" value="{$LANG.ordernowbutton} >>" class="button1 color2" />
 </p>
</form>
{/if}

{else}

<div class="clear"> </div>

	<div class="bigheader">
		<h2>{$LANG.domainspricing}</h2>
	</div><!-- .bigheader -->

<div class="table-responsive table-grey">
<table>
 <tr>
   <th>{$LANG.domaintld}</th>
   <th>{$LANG.domainminyears}</th>
   <th>{$LANG.domainsregister}</th>
   <th>{$LANG.domainstransfer}</th>
   <th>{$LANG.domainsrenew}</th>
 </tr>
 {foreach key=num item=tldprice from=$tldpricelist}
 <tr>
   <td>{$tldprice.tld}</td>
   <td>{$tldprice.period}</td>
   <td>{if $tldprice.register}{$tldprice.register}{else}{$LANG.domainregnotavailable}{/if}</td>
   <td>{if $tldprice.transfer}{$tldprice.transfer}{else}{$LANG.domainregnotavailable}{/if}</td>
   <td>{if $tldprice.renew}{$tldprice.renew}{else}{$LANG.domainregnotavailable}{/if}</td>
 </tr>
 {/foreach}
</table>
</div>
{/if}

 

 

Question 2

domainchecker.php? search = BulkRegister

 

here just add tld

example here http://prntscr.com/7rylmc

 

how to do?

 

{if $bulkdomainsearchenabled}
		<ul class="navsub">
			<li><a href="domainchecker.php">{$LANG.domainsimplesearch}</a></li>
			<li class="active"><a href="domainchecker.php?search=bulkregister">{$LANG.domainbulksearch}</a></li>
			<li><a href="domainchecker.php?search=bulktransfer">{$LANG.domainbulktransfersearch}</a></li>
		</ul>		

		<div class="clear"> </div>
{/if}

{if $inccode}
		<div class="notice notice-error">
			<div class="inside">
				<p>{$LANG.captchaverifyincorrect}</p>
			</div>
		</div>
{/if}

<p>{$LANG.domainbulksearchintro}</p>

<form method="post" action="domainchecker.php?search=bulk">


<div class="feildset">

		<div class="col1">

			<div>
				<label>
					<span class="center">Bulk domain search</span>
					<textarea name="bulkdomains">{$bulkdomains}</textarea>
				</label>
			</div>

			  {if $capatacha}
		      {if $capatacha eq "recaptcha"}

		      <p class="center">{$LANG.captchaverify}</p>

		      <div class="center">{$recapatchahtml}</div>

		      {else}
		      <p class="center"><img src="includes/verifyimage.php" align="middle" /> <input type="text" name="code" class="capcha" /></p>
		      {/if}
		      {/if}


		  <p class="center">
		    <input type="submit" id="Submit" value="{$LANG.domainlookupbutton}" class="button1 color2">
		  </p>

		  </div>

	</div>

</form>


{if $invalid}
		<div class="notice notice-error">
			<div class="inside">
				<p>{$LANG.ordererrordomaininvalid}</p>
			</div>
		</div>
{/if}

{if $availabilityresults}

	<div class="bigheader">
		<h2>{$LANG.morechoices}</h2>
	</div><!-- .bigheader -->

<form method="post" action="{$systemsslurl}cart.php?a=add&domain=register">

<div class="table-responsive table-grey">
 <table>
   <tr>
     <th width="20"></th>
     <th>{$LANG.domainname}</th>
     <th>{$LANG.domainstatus}</th>
     <th>{$LANG.domainmoreinfo}</th>
   </tr>
   {foreach key=num item=result from=$availabilityresults}
   <tr>
     <td>{if $result.status eq "available"}
       <input type="checkbox" name="domains[]" value="{$result.domain}" {if $num eq "0" && $available}checked {/if}/>
       <input type="hidden" name="domainsregperiod[{$result.domain}]" value="{$result.period}" />
       {else}X{/if}</td>
     <td>{$result.domain}</td>
     <td class="{if $result.status eq "available"}textgreen{else}textred{/if}">{if $result.status eq "available"}{$LANG.domainavailable}{else}{$LANG.domainunavailable}{/if}</td>
     <td>{if $result.status eq "unavailable"}<a href="http://{$result.domain}" target="_blank">WWW</a> <a href="#" onclick="window.open('whois.php?domain={$result.domain}','whois','width=500,height=400,scrollbars=yes');return false">WHOIS</a>{else}
       <select name="domainsregperiod[{$result.domain}]">
         {foreach key=period item=regoption from=$result.regoptions}
         <option value="{$period}">{$period} {$LANG.orderyears} @ {$regoption.register}</option>
         {/foreach}
       </select>
       {/if}</td>
   </tr>
   {/foreach}
 </table>
 </div>

 <p class="center">
   <input type="submit" value="{$LANG.ordernowbutton} >>" class="button1 color2" />
 </p>

</form>

{else}

<div class="clear"> </div>

	<div class="bigheader">
		<h2>{$LANG.domainspricing}</h2>
	</div><!-- .bigheader -->

<div class="table-responsive table-grey">
<table>
 <tr>
   <th>{$LANG.domaintld}</th>
   <th>{$LANG.domainminyears}</th>
   <th>{$LANG.domainsregister}</th>
   <th>{$LANG.domainstransfer}</th>
   <th>{$LANG.domainsrenew}</th>
 </tr>
 {foreach key=num item=tldprice from=$tldpricelist}
 <tr>
   <td>{$tldprice.tld}</td>
   <td>{$tldprice.period}</td>
   <td>{if $tldprice.register}{$tldprice.register}{else}{$LANG.domainregnotavailable}{/if}</td>
   <td>{if $tldprice.transfer}{$tldprice.transfer}{else}{$LANG.domainregnotavailable}{/if}</td>
   <td>{if $tldprice.renew}{$tldprice.renew}{else}{$LANG.domainregnotavailable}{/if}</td>
 </tr>
 {/foreach}
</table>
</div>

{/if}

 

 

 

 

you have an idea please

 

thank you

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated