that appears to be correct, but you do not need to create two separate blocks, you could do it like this instead:
<?php
//include('C:/wamp/www/1stmodelagency/cms/WA_CMS/addtosite.php');
include('/home/fhlinux128/1/1stmodelagency/cms/WA_CMS/addtosite.php');
echo WA_getCMSContent($database_localhost, $localhost, 'left_column_image' , 'left_column_image');
?>
the only thing that changes is the include line, the WA_getCMSContent will be the same on local or remote.
see the php manual for comments for more details.
language.basic-syntax.comments.php