timoscript.tk - simple script for iphone and smartphone features:
- auto-detect browser (for page layout compatibility)
- simple css design for mobile and PC
- customized css layout
- support WML for low internet connection
- live chat like FB (available only for PC user, for private conversation)
- forum (auto-marker) + attachment
- blog (comment added)
- club (announcement = send to all members)
- chat loaded with games (lucky9, text twist, auto-quiz, live quiz)
- status update (maybe just like tweet on tweeter)
- messaging/inbox (hmm seems like FB)
- login & reg. using FB connect (need coupon to reg.)
- mp3 playlist
- page compression (gzip or deflate)
- 2 languages available Russian and English (available only in WML and if HTML tag is not hidden)
- turned off some of javascript function (optional)
- QR_Code image generator for direct download (available only for some mobile device that support QRCode Scanner)
You can translate this to your own language.... I really appreciate if you did thank you in advance 🙂
<?php
function lang($VAR){
$lang = array (
'ERR_401'=>'password locked.',
'ERR_403'=>'permission denied.',
'ERR_404'=>'not found.',
'ERR_500'=>'Misconfiguration settings.',
'ERR_NOT_CONNECTED'=>'Processing updates...',
'LINK_REG'=>'Register',
'PRO_CONTENT'=>'DMCA',
'LINK_TERMS'=>'Terms',
'ALRIGHTS'=>'Alright Reserved',
'HI'=>'Hi',
'META_KEY'=>'Free sms, File Sharing, Blog WAP Site, Blogs, Forums, Chat, mp3 search',
'META_DESC'=>'connecting people all over the world',
'GUEST'=>'Hello Guest!',
'LINK_HOME'=>'HOME',
'LINK_INBOX'=>'Inbox',
'LINK_EXINBOX'=>'Exploded Inbox',
'LINK_REQ'=>'Request',
'LINK_FRIENDS'=>'Friends',
'LINK_LOGOUT'=>'Logout',
'ERR_NOJS'=>'Pls enable javascript on your browser.',
'LINK_FSITE'=>'Full Site',
'LINK_MOBILE'=>'Mobile',
'RSS_NEWS'=>'News 2.0',
'RSS_BLOGS'=>'Blogs 2.0',
'LINK_FORUMS'=>'Forums',
'LINK_BLOGS'=>'Blogs',
'LINK_MP3_SEARCH'=>'MP3 Search',
'LINK_VAULT'=>'Vault',
'LINK_CHAT'=>'Chat',
'LINK_CLUB'=>'Club',
'LINK_GALLERY'=>'Gallery',
'LINK_SEARCH'=>'Search',
'LINK_MODLOGS'=>'MOD Logs',
'LINK_WML'=>'Switch WML',
'TXT_CONT'=>'Continue',
'TXT_WELBK'=>'Welcome back',
'LINK_XHTML'=>'Switch XHTML',
'LINK_SETTINGS'=>'Settings',
'LINK_FBMANAGER'=>'FBManager',
'LINK_PROFILE'=>'Profile',
'LINK_EXTENDED'=>'Extended',
'LINK_DISPLAY'=>'Display',
'LINK_IGNORE'=>'Ignore',
'LINK_LISTS'=>'Lists',
'LINK_GUESTBOOK'=>'Guestbook',
'LINK_POLL'=>'Poll',
'LINK_CHATMOOD'=>'Chat Mood',
'LINK_SMILIES'=>'Smilies',
'LINK_AVATARS'=>'Avatars',
'LINK_ECARDS'=>'E-Cards',
'LINK_BBCODE'=>'BBCode',
'LINK_BROLOGS'=>'Browser Logs',
'ERR_DB_CON'=>'Cannot connect to Mysql DATABASE!',
'ERR_SES'=>'Session Error!',
'LINK_CREA_ACC'=>'Create New Account',
'LINK_CONN'=>'Connect',
'TXT_LOGIN'=>'LOGIN',
'TXT_MENU'=>'MENU',
'TXT_USERNAME'=>'USERNAME:',
'TXT_PASSWORD'=>'PASSWORD:',
'TXT_REPASSWORD'=>'RE-TYPE PASSWORD:',
'TXT_BDAY'=>'B-day:YYYY-MM-DD',
'TXT_SEX'=>'SEX:',
'TXT_SEXM'=>'MALE',
'TXT_SEXF'=>'FEMALE',
'TXT_EMAIL'=>'E-MAIL ADDRESS:',
'TXT_COUPON'=>'COUPON:',
'TXT_SITE'=>'SITE:',
'TXT_LOCATION'=>'LOCATION:',
'TXT_SIGNATURE'=>'SIGNATURE:',
'TXT_NEWPASS'=>'NEW PASSWORD:',
'TXT_RENEWPASS'=>'RE-TYPE NEW PASSWORD:',
'TXT_SUBMIT'=>'SUBMIT',
'BANNED'=>'You are Banned!',
'BANNED_TIME'=>'Time to finish your penalty:',
'BANNED_RES'=>'Ban Reason:',
'BANNED_IP'=>'Your IP is Banned!',
'LINK_ANN'=>'Announce',
'LINK_MORE'=>'More',
'TXT_ANN'=>'Announcement',
'REG_CASE1'=>'Please type your username',
'REG_CASE2'=>'Please type your password',
'REG_CASE3'=>'Please type your password again',
'REG_CASE4'=>'Username is invalid',
'REG_CASE6'=>'Passwords doesn\'t match',
'REG_CASE7'=>'Username must be 4 characters or more',
'REG_CASE8'=>'Password must be 4 characters or more',
'REG_CASE9'=>'Username already in use, choose a different one',
'REG_CASE10'=>'Unknown mysql error try registering later',
'REG_CASE11'=>'Username must start with a letter from a-z',
'REG_CASE12'=>'Username is reserved for admins of the site',
'REG_CASE13'=>'Please choose an appropriate nickname',
'REG_CASE14'=>'Please Enter Email Address',
'REG_CASE15'=>'Invalid Email Address',
'REG_CASE16'=>'Email Address is already in use',
'REG_CASE17'=>'Invalid B-Day',
'REG_CASE18'=>'Invalid Coupon <br/><small>If You Don\'t have coupon request it to the site Administrator or Owner.</small>',
'TXT_INVALIDPASS'=>'Invalid Password!',
'TXT_PASSRES'=>'Forgot Password?',
'TXT_LOGIN_NOTE'=>'Cant Login At The Momment Pls Try Again Later!',
'TXT_LOGIN_NOTE1'=>'Account Temporary Unaccepted, Pls. wait to accept your account by the Admin.',
'LINK_REFB'=>'Re-Try FB Registration',
'TXT_NOTO'=>'You are not an OWNER',
'TXT_NOTA'=>'You are not an ADMIN',
'TXT_NOTM'=>'You are not a MOD',
'TXT_UWRCV'=>'You will received',
'TXT_CRDT'=>'Credits',
'TXT_WELCOME_PM'=>'Hello /reader =) we are happy to have you here! Enjoy!',
'TXT_NOTE_REGMEM'=>'[Registered members has the privilege to see this link.]',
'TXT_PRIVATE'=>'[Private Content]',
'TXT_UNVIEW'=>'[Unable to view content]',
'TXT_IMG'=>'[Image]',
'TXT_VOTES'=>'Votes:',
'TXT_ERR1_POLL'=>'This poll doesn\'t exist',
'TXT_ERR_POLL'=>'This user have no poll',
'TXT_POST_IN'=>'posted in',
'TXT_UN_DEV'=>'Unknown Device',
'TXT_REF_UNDER'=>'registered under your referral code',
'TXT_AD_AUTO'=>'added automatically to your account.',
'TXT_PM_AUTO'=>'[small]p.s. this pm sent to you automatically[/small]',
'TXT_NOTE_BR_BLOCK'=>'Your Browser is Blocked.',
'TXT_NOTE_LOGOUT'=>'Your session has been successfully reset! Pls. login again to continue.',
'TXT_GOODBYE'=>'Goodbye',
'TXT_NOTE_LOGOUT1'=>'Are You Sure Do You Want To Log out?',
'LINK_YES'=>'Yes',
'LINK_NO'=>'No',
'LINK_RES_SES'=>'Reset Session',
'TXT_SMS_TITLE'=>'Text Messaging',
'TXT_SMS_BY'=>'SMS sent by',
'TXT_SMS_FREE'=>'Free SMS',
'TXT_SMS_NOTE1'=>'Message successfully sent to',
'TXT_SMS_NOTE2'=>'Message sending failed!',
'TXT_SMS_NOTE3'=>'Mobile number must be a number and equal to 10 digits!',
'LINK_BACK'=>'Back',
'TXT_SMS_NOTE4'=>'All fields are mandatory',
'TXT_SMS_NOTE5'=>'Number must be in local format (e.g. 9161234567)',
'TXT_SEND'=>'SEND',
'TXT_MOB_NUM'=>'Mob.no:',
'TXT_MSG'=>'Msg:',
'TXT_ACT8'=>'Activate',
'TXT_ACTIVATE'=>'Activating Tools',
'TXT_ACT8_1'=>'Tools Activated',
'TXT_ACT8_2'=>'Your Tools is now Visible.',
'TXT_INVALID_PASS'=>'Invalid Password',
'LINK_ADMIN_PANEL'=>'Admin Panel',
'LINK_OK'=>'OK',
'TXT_STATUS_LOG'=>'Status Log',
'TXT_LATEST_BLOG'=>'Latest Blog',
'LINK_MORE_BLOGS'=>'More Blogs',
'TXT_BOOKMARKS'=>'Bookmarks',
'LINK_MUSIC_PLAYER'=>'Music Player',
'TXT_STAFF_TOOLS'=>'Staff Tools',
'TXT_ONLINE'=>'Online:',
'TXT_FORUM_DIS'=>'Forum Discussion',
'TXT_LATEST'=>'Latest',
'TXT_TOPIC_SEARCH'=>'Topic Search',
'TXT_LAST_BY'=>'Last By:',
'TXT_BY'=>'By:',
'TXT_LAST_POST'=>'Last Post:',
'TXT_GO'=>'Go',
'TXT_TOPIC'=>'Topic',
'TXT_JUMP_PG'=>'Jump to page',
'LINK_KICK_OUT'=>'Kick out',
'LINK_CLUB_POINTS'=>'Club Points',
'LINK_GV_CRDT'=>'Give credits to',
'TXT_CLUB_NOTE'=>'Missing Info!',
'TXT_ACTION'=>'ACTION:',
'TXT_POINTS'=>'POINTS:',
'TXT_ADD'=>'Add',
'TXT_SUBTRACT'=>'Subtract',
'TXT_GPL_NOTE'=>'You can only give credits, these are real credits, you can\'t subtract credits',
'TXT_GPL_NOTE1'=>'Your club credits credit is',
'TXT_GPL_NOTE2'=>'Do not abuse giving of credits to users, your club could be deleted',
'TXT_CREDITS'=>'CREDITS:',
'LINK_SSTAT'=>'Site Stats',
'LINK_IDC'=>'ID Card',
'TXT_BROLOGS_NOTE'=>'This are the logs of browsers and ips that you had been used. Click Blocked if you found out that it is anonymous.',
'TXT_BROLOGS_NOTE1'=>'Browser Is Now Blocked.',
'TXT_BROLOGS_NOTE2'=>'Request Not Process!',
'TXT_BROLOGS_NOTE3'=>'Browser Is Now UNBlocked.',
'TXT_BROLOGS_NOTE4'=>'Request Not Process!',
'TXT_BROLOGS_NOTE5'=>'Browser removed successfully.',
'TXT_BROLOGS_NOTE6'=>'Request Not Process!',
'TXT_BLOCKED'=>'Blocked',
'TXT_UNBLOCKED'=>'Unblocked',
'TXT_LASTUSE'=>'Last used:',
'TXT_REMOVE'=>'Remove',
'LINK_ALLCLUBS'=>'All Clubs',
'LINK_MYCLUBS'=>'My Clubs',
'LINK_CLUBIAM'=>'Clubs I\'m a member of',
'LINK_CLUBPOP'=>'Clubs By popularity',
'LINK_CLUBACT'=>'Clubs By Activity',
'LINK_RANDCLUB'=>'Random Clubs',
'LINK_NEWESTCLUB'=>'The Newest Club Is:',
'TXT_LINKIDC'=>'IDC Link:',
'TXT_REFLINK'=>'Referral Link:',
'TXT_MYCLUBS_NOTE'=>'Clubs are small communities that users can create, every community should have things in common, for example a community for goths, sex freaks, alocholics, rappers and anything else you can think of.',
'TXT_MYCLUBS_NOTE1'=>'Minimum Credits to Create Clubs: ',
'TXT_MYCLUBS_NOTE2'=>'Clubs Per User are allowed.',
'TXT_DELETE'=>'DELETE',
'LINK_ADDCLUB'=>'Add Club',
'TXT_DESCRIPTION'=>'Description',
'TXT_CREADATE'=>'Creation Date',
'TXT_OWNER'=>'Owner',
'LINK_NEXT'=>'NEXT',
'LINK_PREV'=>'PREV',
'TXT_CLUBID'=>'Club ID',
'TXT_MEMBERS'=>'Members',
'TXT_UJOIN'=>'Unjoin',
'TXT_JOIN'=>'Join',
'TXT_TOPICS'=>'Topics',
'TXT_POSTS'=>'POST',
'TXT_RULES'=>'Rules',
'TXT_CLUB_FRM'=>'Club Name',
'TXT_CLUB_NOTE'=>'You already have 3 clubs',
'TXT_INSUFFICIENT'=>'Insufficient Credits',
'TXT_VIEW'=>'VIEW',
'TXT_VIEWPROF'=>'View Profile',
'TXT_UNAME'=>'Username',
'TXT_REG_CLOSED'=>'Registration has been temporarily closed, please check later.',
'TXT_FB_USED'=>'facebook id has been already used',
'TXT_REG_OK'=>'Registration completed successfully!',
'TXT_REG_UNDER'=>'You are registered under referral code of',
'TXT_REG_INFO'=>'Registration Information',
'TXT_REG_THANKS'=>'Thank You for registering with us!',
'TXT_DATE'=>'Date:',
'TXT_RESPASS1'=>'Reset Password (RESEND)',
'TXT_RESPASS_RESEND'=>'Reset Password (RESEND)',
'TXT_RESPASS_GOTO'=>'Enter the code provided or go to the link below.',
'TXT_CODE'=>'Code:',
'TXT_RESPASS_VALIDITY'=>'The validity of this link/code is 24hrs from the date where it first stamped!',
'TXT_IP'=>'IP:',
'TXT_BROWSER'=>'Browser:',
'TXT_REPASS_ERR'=>'Invalid Email',
'TXT_REPASS_ERR1'=>'Email Not Found',
'TXT_ISOK'=>'is okay',
'TXT_REPASS_MSG'=>'You can now reset your password.',
'TXT_REPASS_MSG1'=>'Pls Enter The Code Sent To Your e-mail',
'TXT_REPASS_MSG2'=>'Code Resend Successfully.',
'TXT_REPASS_NOTE'=>'Password Do Not Match!',
'TXT_REPASS_NOTE1'=>'Invalid Password',
'TXT_REPASS_NOTE2'=>'Unable to process your request pls try again!',
'TXT_REPASS_NOTE3'=>'It seems that you had enter your old password!',
'TXT_REPASS_NOTE4'=>'Code Not Found.',
'LINK_RESCODE'=>'Resend Code',
'LINK_REPASS_CLRSES'=>'Clear Session',
'TXT_VFRM_NOTE'=>'You Don\'t Have A Permission To View The Contents Of This Forum',
'TXT_FEED'=>'Feed',
'LINK_NEWTOPIC'=>'Creat New Topic',
'TXT_FRM_VW'=>'All',
'TXT_FRM_VW1'=>'Since Last Visit',
'TXT_FRM_VW2'=>'I posted In',
'TXT_FRMVIEW_NOTE'=>'Viewing topics that has no new posts since your last visit.',
'TXT_FRMVIEW_NOTE1'=>'Viewing topics contain posts by you',
'TXT_FRMVIEW_NOTE2'=>'Viewing All topics',
'TXT_UPLOADE_NOTE'=>'* 5mb/files in size are allowed.',
'TXT_ATT'=>'Attachment',
'TXT_ATT_OPNL'=>'Attachment (Optional)',
'LINK_CANCEL'=>'Cancel',
'TXT_UPLOAD_Q'=>'How many files(1-10) do you want to attach?',
'TXT_TITLE'=>'Title:',
'LINK_REPOST'=>'Post reply',
'LINK_LASTPG'=>'»',
'LINK_FISTPG'=>'«',
'TXT_TPC_REP'=>'Replies:',
'TXT_TPC_VW'=>'Views:',
'LINK_SUBSCRIBE'=>'SUBSCRIBE',
'TXT_SUBSCR_NOTE'=>'You are successfully subscribed!',
'TXT_SUBSCR_NOTE1'=>'Request Cannot be process!',
'TXT_SUBSCR_NOTE2'=>'You are successfully unsubscribed!',
'LINK_UNSUBSCRIBE'=>'UNSUBSCRIBE',
'LINK_BK2VAULT'=>'Back To Vault',
'TXT_STATUS'=>'Status:',
'TXT_FRM_POSTBY'=>'This topic has been posted by',
'TXT_FB_NOTE_SHARE'=>'Topic Has been successfully shared to your fb wall',
'LINK_FBSHARE'=>'Share to FB',
'TXT_POST_QUOTE'=>'Originally Posted By:',
'LINK_ABOUT'=>'About Us',
'TXT_ABOUT_US'=>'Help us to improved... We accept Donation',
'TXT_BLG_SRCH'=>'Blog Search',
'TXT_BLG_VN'=>'View Newest',
'TXT_BLG_VP'=>'View by points',
'TXT_BLG_VR'=>'View most rated',
'TXT_BLG_VV'=>'View most voted',
'TXT_POINTS'=>'Points:',
'TXT_RATE'=>'Rate:',
'LINK_OPEN'=>'Open',
'LINK_CLOSE'=>'Close'
);
return $lang[$VAR];
}