I need a content manager created by scratch which able user to create a list on specific topic and add entries (like URL, information notes or image). Feature and requirements include:
* Other users can add entry, vote and comment on the list.
* The list owner can moderate and promote the entry to the moderated list, or until the entry has a threshold of votes.
* List is searchable and taggable.
* It needs to be flexible enough to have API access on different functions such as displaying different components such as tag clouds, sorting by different ways like popularity for different pages and menu bars for pages like front page.
* It should also be extensible to add other types of entry (like file attachments instead of URL, etc) in the future.
* Coding should be in PHP and MySQL
* Most of the interactions for users should available through AJAX.
Along with bidding, please attach a sample code to show your ability to abstract codes and functions. Both sequential functions or OO design are welcome. Sample code on PHP with MySQL interactions and AJAX frontend and backend interactions will be highly considered.