please help me out here error in this javascript

ساخت وبلاگ
hi admin or others i want to use this script to display trading comment with number of comment in post eg 54=”veryhot” please check this script and correct error thanks

'<script> var count= ‘<?php $comment_num ?>'; if (count>=10) { document.write (“Trending!!”);} else if (count>=6) { document.write(“Super HOT!!”); } else if (count>=5) { document.write(“Extra HOT!!”);} else if (count>=4) { document.write(“HOT!!”);} else if (count>=3) { document.write(“New!”); } else if (count>=2) { document.write(“New!”);} else if (count>=1) { document.write(“New!”);} else {document.write(“1.0”);}</script>'

waiting for response thanks
CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 170 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05