Required: Apache+PHP, TCPDF library
Working: As a result script generate PDF document with advertisement and contact tickets
Set proper paths to TCPDF library's files near the beginning of the script. Next find place with following variables defined: header, msg, contact, bold, tickets and set them to proper parts of the advertisement: