How to get cookie from the template of smarty?

I can get cookie: in the php code in the following way

$_COOKIE["qicloud_access_token"]

but how to get cookie in the template of smarty?

Mar.28,2021

{* display the value of the cookie "username" ($_COOKIE['username']) *}
{$smarty.cookies.username}

https://www.smarty.net/docs/z.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e44366-59ae6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e44366-59ae6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?