Custom page Template and Script as a Plugin

This is covered in the Codex, under How to create a page template.

In your theme you create a file called my-bacon-template.php and in that file you add the following to the top of the file, before any other code

<?php
/*
Template Name: My Bacon Page
*/

After that you can put any content you want and it will display on any page that you have selected to have this template.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)