Checking whether the agent is a search bot
Copy to directory smarty/libs/plugins
{is_secured_request assign="is_secured_request_status"}
{if $is_secured_request_status}
{* your code *}
{/if}
{is_secured_request ip = "127.0.0.1" agent = "google" assign="is_secured_request_status"}
{if $is_secured_request_status}
{* your code *}
{/if}