echo -n '<span class="DTSCAL"></span>'
fdom=$(($fdom - 1))
done
-#echo -n '<input type="hidden" name="DTSDAY" value="'$dts_dom'">'
-#cnt=$(date -d ${dts_year}-${dts_month}-1 +%s)
-#while [ "$(date -d @$cnt +%m)" = "$dts_month" ]; do
-# dn=$(date -d @$cnt +%d)
-# echo -n '<button class="DTSCAL '$( [ $dn = $dts_dom ] && echo selected)'" type="submit" name="DTSDAY" value="'$dn'">'$dn'</button>'
-# cnt=$(($cnt + 86400))
-#done
cnt=$(date -d ${dts_year}-${dts_month}-1 +%s)
while [ "$(date -d @$cnt +%m)" = "$dts_month" ]; do
dn=$(date -d @$cnt +%d)