somayehbayat
New Member
hi
i have created a new button fly for you!
demo:
	
	
		
		
	
	
		
			
		
		
	
demo live (at the right of site):
http://peyvandham.niloblog.com
steps:
1) create folder css & create tab.css & input this codes:
	
	
	
		
save & close!
2) go to folder sources/user_cp & edit link_code.php
search thi
	
	
	
		
 and replace with this
	
	
	
		
3) dont forgot like!!!!!
								i have created a new button fly for you!
demo:
	demo live (at the right of site):
http://peyvandham.niloblog.com
steps:
1) create folder css & create tab.css & input this codes:
		Code:
	
	.toolsdlmouse{
    position:fixed;
    right:-150px;
    width:150px;
    top:50%;
    height:150px;
    margin-top:-100px;
    padding:10px;
    background:#ffffff;
    border:1px #ccc solid;
    border-radius:5px;
    -moz-border-radius:5px;
    -ms-border-radius:5px;
    -webkit-border-radius:5px;
    -o-border-radius:5px;
    -khtml-border-radius:5px;
    font:11px tahoma;
    direction:rtl;
}
.toolsdltittle{
    background:#0568c6;
    border-radius:100px 0 0 100px;
    -moz-border-radius:100px 0 0 100px;
    -ms-border-radius:100px 0 0 100px;
    -webkit-border-radius:100px 0 0 100px;
    -o-border-radius:100px 0 0 100px;
    -khtml-border-radius:100px 0 0 100px;
    text-align:left;
    padding:10px;
    position:fixed;
    top:50%;
    right:-125px;
    height:20px;
    margin-top:-135px;
    font:11px tahoma bold;
        color:#ffffff;
    direction:rtl;
    z-index:3;
    width:250px;
}
	2) go to folder sources/user_cp & edit link_code.php
search thi
		Code:
	
	if($CONF['stats_button'] == 1) {
 
$TMPL['link_code_content'] .= <<<EndHTML
Preview: <a href="{$TMPL['list_url']}/{$TMPL['verbose_link']}"><img src="{$TMPL['list_url']}/button.php?u={$TMPL['site']}&buttontype=stats" alt="{$CONF['text_link_button_alt']}" /></a>
<br />
<textarea readonly="readonly" name="code" rows="6" style="width: 90%;" onclick="select_all();"><a href="{$TMPL['list_url']}/{$TMPL['verbose_link']}"><img src="{$TMPL['list_url']}/button.php?u={$TMPL['site']}&buttontype=stats" alt="{$CONF['text_link_button_alt']}" /></a></textarea>
<hr />
 
EndHTML;
}
	
		Code:
	
	if($CONF['stats_button'] == 1) {
 
$TMPL['link_code_content'] .= <<<EndHTML
Preview: <a href="{$TMPL['list_url']}/index.php?a=in&u={$TMPL['username']}" target="_blank"><img src="http://peyvandham.ir/images/tab-right.png" /></a>
<br />
<textarea readonly="readonly" name="code" rows="6" style="width: 90%;" onclick="select_all();"><script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<script>
/* created by www.peyvandham.ir
* Creator : info@peyvandham.ir
*/
$(document).ready(function(){
    $('.toolsdltittle,.toolsdlmouse').hover(function(){
        $('.toolsdltittle,.toolsdlmouse').animate({right:'-1px'});
    },function(){
        $('.toolsdltittle,.toolsdlmouse').animate({right:'-150px'});
    });
});
</script>
<link rel="stylesheet" href="http://YOURSITEURL/css/tab-right.css" type="text/css" />
<div class="toolsdlmouse">Your Site Name</a><div class="toolsdltittle">Your Site Name</div><div class="thetext">
<a href="{$TMPL['list_url']}/index.php?a=in&u={$TMPL['username']}" target="_blank"><img src="{$TMPL['list_url']}/button.php?u={$TMPL['site']}&buttontype=stats" alt="{$CONF['text_link_button_alt']}" /></a>
</div></div>
</textarea>
<hr />
 
EndHTML;
}
	
				
  Good way to increase some clicks!
